# How to move two multiple shapes as one with keys

**URL:** <https://discourse.processing.org/t/how-to-move-two-multiple-shapes-as-one-with-keys/35995>\
**Category:** Coding Questions\
**Created:** [March 29, 2022, 10:18am UTC](https://discourse.processing.org/t/how-to-move-two-multiple-shapes-as-one-with-keys/35995 "2022-03-29T10:18:05Z")\
**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:** [March 29, 2022, 10:21am UTC](https://discourse.processing.org/t/how-to-move-two-multiple-shapes-as-one-with-keys/35995/2 "2022-03-29T10:21:41Z")

</div>

[Reddit.com/r/processing/comments/bshqa8/how\_would\_i\_make\_a\_keypressed\_function\_support/eor5epo/](http://Reddit.com/r/processing/comments/bshqa8/how_would_i_make_a_keypressed_function_support/eor5epo/)

> [@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/how-to-move-two-multiple-shapes-as-one-with-keys/35995)._
