# Control issues

**URL:** https://forum.kirupa.com/t/control-issues/199021
**Category:** Uncategorized
**Created:** [August 30, 2006, 4:43pm UTC](https://forum.kirupa.com/t/control-issues/199021 "2006-08-30T16:43:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Copes](https://avatars.discourse-cdn.com/v4/letter/c/f07891/32.png) [@Copes](https://forum.kirupa.com/u/Copes)
#### Post date: [August 30, 2006, 4:43pm UTC](https://forum.kirupa.com/t/control-issues/199021/1 "2006-08-30T16:43:36Z")

</div>

Hi guys.

crikey i havent posted here in an age. Anyway im again working on milos adventure, and ive been doing the blocking action using the shift key.

Im running into trouble though because i want him to block while just holding shift that then changes the graphic into him holding the shield. still image.

however i also want when you hold shift and move (direction keys) for him to animate.

now i can get either “one” of these to work and i assume its because of using the if key is down shift. line for standing and blocking cancelling out what im saying for if shifts down and a direction is also down.

Is there a way to say (if we use the right arrow button as an example)

```auto
if (Key.isDown(Key.SHIFT) "but right isnt down") { 
do this
}

```

Thanks :love:
