# Can two keys be registered at once?

**URL:** <https://forum.kirupa.com/t/can-two-keys-be-registered-at-once/218324>\
**Category:** flash\
**Created:** [March 6, 2007, 8:08pm UTC](https://forum.kirupa.com/t/can-two-keys-be-registered-at-once/218324 "2007-03-06T20:08:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guragiro](https://avatars.discourse-cdn.com/v4/letter/g/53a042/32.png) [@Guragiro](https://forum.kirupa.com/u/Guragiro)\
**Post date:** [March 6, 2007, 8:08pm UTC](https://forum.kirupa.com/t/can-two-keys-be-registered-at-once/218324/1 "2007-03-06T20:08:14Z")

</div>

Is there any way to set an event if two keys are down at once in actionscript? For example:

onClipEvent(enterFrame)  
{  
if(Key.isDown(Key.UP))  
this blah blah blah

except instead of up, up and right for example?

thanks for any help
