# Multiple Key Handler

**URL:** <https://forum.kirupa.com/t/multiple-key-handler/282363>\
**Category:** flash\
**Created:** [February 20, 2009, 8:06pm UTC](https://forum.kirupa.com/t/multiple-key-handler/282363 "2009-02-20T20:06:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PsuFan](https://avatars.discourse-cdn.com/v4/letter/p/ce7236/32.png) [@PsuFan](https://forum.kirupa.com/u/PsuFan)\
**Post date:** [February 20, 2009, 8:06pm UTC](https://forum.kirupa.com/t/multiple-key-handler/282363/1 "2009-02-20T20:06:43Z")

</div>

Hey,

I have found a few multiple key handlers to move the player d[FONT=Times New Roman][SIZE=3]iagonally. Ive tried them and they work okay but heres what happens: when your pressing two keys and you let go of one, the player stops for a short time, then starts going in the new direction. Has any one figured out why this short pause happens and ways to fix it?[/SIZE][/FONT]

Im using a simple key\_down & key\_up function that trips booleans of key down.

[FONT=Times New Roman][SIZE=3]Thanks[/SIZE][/FONT]
