# Hittest problems

**URL:** <https://forum.kirupa.com/t/hittest-problems/150329>\
**Category:** flash\
**Created:** [June 6, 2005, 8:12pm UTC](https://forum.kirupa.com/t/hittest-problems/150329 "2005-06-06T20:12:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyroki](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@pyroki](https://forum.kirupa.com/u/pyroki)\
**Post date:** [June 6, 2005, 8:12pm UTC](https://forum.kirupa.com/t/hittest-problems/150329/1 "2005-06-06T20:12:14Z")

</div>

k i have been trying for days to get my hitTest to work and hav had no success when the bullet hits the enemy i want the enemy to go and play sumthing but every time it just goes right past him and does nothing i wrote the test like this:

```auto
  

```

if(\_root.elec.hitTest(this.\_x,this.\_y, true)) {  
gotoAndPlay(2);  
}

```auto
  

```

cud somone help me out? btw i fixed my jumping problem
