# MovieClip hitTest

**URL:** <https://forum.kirupa.com/t/movieclip-hittest/93085>\
**Category:** Uncategorized\
**Created:** [October 25, 2003, 10:13am UTC](https://forum.kirupa.com/t/movieclip-hittest/93085 "2003-10-25T10:13:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luster](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@luster](https://forum.kirupa.com/u/luster)\
**Post date:** [October 25, 2003, 10:13am UTC](https://forum.kirupa.com/t/movieclip-hittest/93085/1 "2003-10-25T10:13:52Z")

</div>

Hi,

I’ve created a moving MC (responding on Up,Left,…).  
But I want I to NOT move if it’s underneath something like a wall.  
I’ve named the wall “muur”. Any suggestions to stop the MC moving if it’s right underneath/above/ left to/right to the wall, so you’ll have to go around the wall. I tried some hitTest stuff, but it didn’t work. Though I think it’s related with hitTest.  
Anyone?

Luster,
