# Specific question about movement

**URL:** https://forum.kirupa.com/t/specific-question-about-movement/280562
**Category:** flash
**Created:** [January 28, 2009, 10:43pm UTC](https://forum.kirupa.com/t/specific-question-about-movement/280562 "2009-01-28T22:43:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![polyp](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@polyp](https://forum.kirupa.com/u/polyp)
#### Post date: [January 28, 2009, 10:43pm UTC](https://forum.kirupa.com/t/specific-question-about-movement/280562/1 "2009-01-28T22:43:51Z")

</div>

Hello everyone,

I’m currently trying to make a very simple game where movement in one direction is done by pressing 2 keys alternately…

for example to move to the left, the user has to press A, S, A, S … repeatedly (kind of like twiddling his fingers

and to move to the right, the user would have to press K, L, K, L repeatedly…

can anyone give me some insight on how this could be done?

thanks in advance
