# Move the box with keyboard and mouse

**URL:** <https://discourse.processing.org/t/move-the-box-with-keyboard-and-mouse/25824>\
**Category:** Processing.py\
**Created:** [November 30, 2020, 7:17am UTC](https://discourse.processing.org/t/move-the-box-with-keyboard-and-mouse/25824 "2020-11-30T07:17:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 30, 2020, 7:24am UTC](https://discourse.processing.org/t/move-the-box-with-keyboard-and-mouse/25824/2 "2020-11-30T07:24:19Z")

</div>

> [@Issues with smooth 2D movement in python](https://discourse.processing.org/t/issues-with-smooth-2d-movement-in-python/18556/4):
>
> That’s a very old sketch of mine. innocent BtW, I did a followup w/ 2 players instead of 1 both for Java Mode & p5js flavors: sunglasses And now I’ve decided to do a Python Mode version as well. Check it out: snake #!/bin/python2 """ Players Movement (v1.1.0) by GoToLoop (2020/Mar/11) Discourse.Processing.org/t/issues-with-smooth-2d-movement-in-python/18556/4 GoToLoop.Trinket.io/sites/players-movement Trinket.io/processing/62fab051ed Reddit.com/r/processing/comments/bshqa8/ ho…

---

_[View the full topic](https://discourse.processing.org/t/move-the-box-with-keyboard-and-mouse/25824)._
