# Code gets replaced

**URL:** <https://discourse.processing.org/t/code-gets-replaced/10504>\
**Category:** p5.js\
**Created:** [April 20, 2019, 6:51pm UTC](https://discourse.processing.org/t/code-gets-replaced/10504 "2019-04-20T18:51:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gooffyy80](https://avatars.discourse-cdn.com/v4/letter/g/ed8c4c/32.png) [@gooffyy80](https://discourse.processing.org/u/gooffyy80)\
**Post date:** [April 20, 2019, 6:51pm UTC](https://discourse.processing.org/t/code-gets-replaced/10504/1 "2019-04-20T18:51:20Z")

</div>

Whenever I type one thing that has something following it such as x/y coordinates whatever is after that gets replaced by what I am currently typing. Is that supposed to happen? If not how do I fix it?

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [April 20, 2019, 6:59pm UTC](https://discourse.processing.org/t/code-gets-replaced/10504/2 "2019-04-20T18:59:11Z")

</div>

Did you try the **insert key**?

It changes your cursor appearance and tells whether you overwrite old text or insert text during typing.

(Not sure what you mean?)

Regards, Chrisir

---

<div class="post-metadata">

**Author:** ![gooffyy80](https://avatars.discourse-cdn.com/v4/letter/g/ed8c4c/32.png) [@gooffyy80](https://discourse.processing.org/u/gooffyy80)\
**Post date:** [April 20, 2019, 7:00pm UTC](https://discourse.processing.org/t/code-gets-replaced/10504/3 "2019-04-20T19:00:33Z")

</div>

Thank you I must have accidentally pressed it before
