# Movement question?

**URL:** <https://discourse.processing.org/t/movement-question/20876>\
**Category:** Coding Questions\
**Created:** [May 14, 2020, 5:47pm UTC](https://discourse.processing.org/t/movement-question/20876 "2020-05-14T17:47:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bscohen06](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@bscohen06](https://discourse.processing.org/u/bscohen06)\
**Post date:** [May 14, 2020, 5:47pm UTC](https://discourse.processing.org/t/movement-question/20876/1 "2020-05-14T17:47:51Z")

</div>

So I coding movement and it works but I can not move diagonally and only do one input at once how do I fix this?

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [May 14, 2020, 6:26pm UTC](https://discourse.processing.org/t/movement-question/20876/2 "2020-05-14T18:26:19Z")

</div>

Hi, @bscohen06 please post the code you’ve already made, and we will see.  
Don’t forget to use the \</\> button after selecting the code;)

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [May 14, 2020, 9:04pm UTC](https://discourse.processing.org/t/movement-question/20876/3 "2020-05-14T21:04:59Z")

</div>

https://www.openprocessing.org/sketch/718355/embed/

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [May 14, 2020, 10:04pm UTC](https://discourse.processing.org/t/movement-question/20876/4 "2020-05-14T22:04:17Z")

</div>

@GoToLoop I’ve done some testing on embedding just now. Modifying the width setting less then 100% actually works. But above not. It seems that using a width of 700 pixels in OpenProcessing, for an example sketch, is the best match to visualize the whole sketch.

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [May 14, 2020, 10:37pm UTC](https://discourse.processing.org/t/movement-question/20876/5 "2020-05-14T22:37:33Z")

</div>

> [@noel](#):
>
> It seems that using a width of 700 pixels in the OpenProcessing for an example sketch is the best match to visualize the whole sketch.

Changed it to 690 x 580 when running online w/ “Players Movement” v1.0.3. 😉
