# Using a letters with KeyisDown

**URL:** <https://forum.kirupa.com/t/using-a-letters-with-keyisdown/73327>\
**Category:** Uncategorized\
**Created:** [December 15, 2004, 9:49am UTC](https://forum.kirupa.com/t/using-a-letters-with-keyisdown/73327 "2004-12-15T09:49:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkalexander](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@rkalexander](https://forum.kirupa.com/u/rkalexander)\
**Post date:** [December 15, 2004, 9:49am UTC](https://forum.kirupa.com/t/using-a-letters-with-keyisdown/73327/1 "2004-12-15T09:49:32Z")

</div>

I’m making a space shooter, with ship movemnt control using the arrow keys. I also have a shield button that is currently the CONTROl key. When playing the game online their is a conflict with Flash Player. Flash Player has a shortcut that is left or right arrows + CTRL key. I want to use the key S instead, but for the life of me can’t figure out how to do this. My current code is:

if (Key.isDown(Key.CONTROL)&& \_root.shieldStatus\>0){  
this.gotoAndStop(2);  
}

What would it be if I wanted to use the letter S, instead of CONTROL?
