# What's wrong with this hitTest thing?

**URL:** https://forum.kirupa.com/t/whats-wrong-with-this-hittest-thing/246978
**Category:** flash
**Created:** [December 17, 2007, 1:54pm UTC](https://forum.kirupa.com/t/whats-wrong-with-this-hittest-thing/246978 "2007-12-17T13:54:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![akbunny](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@akbunny](https://forum.kirupa.com/u/akbunny)
#### Post date: [December 17, 2007, 1:54pm UTC](https://forum.kirupa.com/t/whats-wrong-with-this-hittest-thing/246978/1 "2007-12-17T13:54:40Z")

</div>

Something i wrote down wrong?  
I can’t figure it out…

I try’d all of these, separate and togetter:

onClipEvent(enterFrame){  
if(this.\_x == twee.\_x){  
trace(“ja”);  
}  
if(this.hitTest(twee)){  
trace(“ja”);  
}

if(this.hitTest(“twee”)){  
trace(“ja”);  
}

if(this.hitTest(twee, true)){  
trace(“ja”);  
}  
}

anyone? please

:edit:  
added the fla 🙂
