# PC CTRL key and Apple Key

**URL:** <https://forum.kirupa.com/t/pc-ctrl-key-and-apple-key/302291>\
**Category:** Uncategorized\
**Created:** [December 25, 2009, 5:10pm UTC](https://forum.kirupa.com/t/pc-ctrl-key-and-apple-key/302291 "2009-12-25T17:10:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaedo](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Post date:** [December 25, 2009, 5:10pm UTC](https://forum.kirupa.com/t/pc-ctrl-key-and-apple-key/302291/1 "2009-12-25T17:10:58Z")

</div>

So I know the the key code for CTRL is 17 and the Mac ‘Command Key’ or ‘Apple Button’ is 15 as per the live docs:

[http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/ui/Keyboard.html](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/ui/Keyboard.html)

Is there anything I might need to be aware of if I want to use the Apple key as a CTRL alternative ?

eg

```auto
if(e.keyCode==15 || e.keyCode==17) // do some stuff

```

I don’t have access to a Mac’ to test so I thought I better check …

Thanks for your consideration,

S.
