# Moving with arrow keys

**URL:** <https://forum.kirupa.com/t/moving-with-arrow-keys/35846>\
**Category:** flash\
**Created:** [November 18, 2003, 9:10pm UTC](https://forum.kirupa.com/t/moving-with-arrow-keys/35846 "2003-11-18T21:10:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeka](https://avatars.discourse-cdn.com/v4/letter/z/c6cbf5/32.png) [@zeka](https://forum.kirupa.com/u/zeka)\
**Post date:** [November 18, 2003, 9:10pm UTC](https://forum.kirupa.com/t/moving-with-arrow-keys/35846/1 "2003-11-18T21:10:23Z")

</div>

I know this has been posted many times before but, how do you move an object around with the arrow keys.

But there’s a catch.

I need my object to flip horizontal when pressing right when it is facing left ( and vice versa). And I need it to flip vertical when it is facing facing upwards and the down arrow is pressed (and vice versa). Does anyone know how to do this?

Cheers :evil:
