# Not sure what to call this problem

**URL:** https://forum.kirupa.com/t/not-sure-what-to-call-this-problem/254543
**Category:** Uncategorized
**Created:** [March 13, 2008, 1:06am UTC](https://forum.kirupa.com/t/not-sure-what-to-call-this-problem/254543 "2008-03-13T01:06:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GormDraig](https://avatars.discourse-cdn.com/v4/letter/g/ed8c4c/32.png) [@GormDraig](https://forum.kirupa.com/u/GormDraig)
#### Post date: [March 13, 2008, 1:06am UTC](https://forum.kirupa.com/t/not-sure-what-to-call-this-problem/254543/1 "2008-03-13T01:06:48Z")

</div>

Basically, decided to start playing around with AS again in Flash.

Coded a Movieclip to move on key down, tried a hitTest and both work.

(I’m using If/Else statements for these two).

My problem is, how can I combine **both** so I can tell the object to not move on key down once it hits another object.

Hope thats a good enough explaination.
