# Character Movement

**URL:** <https://forum.kirupa.com/t/character-movement/307541>\
**Category:** Uncategorized\
**Created:** [April 5, 2010, 4:36pm UTC](https://forum.kirupa.com/t/character-movement/307541 "2010-04-05T16:36:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ubergoten](https://avatars.discourse-cdn.com/v4/letter/u/dec6dc/32.png) [@ubergoten](https://forum.kirupa.com/u/ubergoten)\
**Post date:** [April 5, 2010, 4:36pm UTC](https://forum.kirupa.com/t/character-movement/307541/1 "2010-04-05T16:36:49Z")

</div>

Hey all

Right now I have a character in my game able to move up, down, left, and right. But only goes one direction at a time…

For example if I’m moving up and then press left while still holding up my character will turn left.

I’m curious if anyone has some code or an idea how to fix this without making about 16 more case statements

Thanks!
