# hitTest on my Game

**URL:** <https://forum.kirupa.com/t/hittest-on-my-game/155179>\
**Category:** Uncategorized\
**Created:** [July 15, 2005, 8:07am UTC](https://forum.kirupa.com/t/hittest-on-my-game/155179 "2005-07-15T08:07:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lewwy](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@Lewwy](https://forum.kirupa.com/u/Lewwy)\
**Post date:** [July 15, 2005, 8:07am UTC](https://forum.kirupa.com/t/hittest-on-my-game/155179/1 "2005-07-15T08:07:13Z")

</div>

I decided to make a game, you can see what ive got so far : [www.evolewtion.co.uk/space\_station.html](http://www.evolewtion.co.uk/space_station.html)

Dont worry about the intro screen or instructions just yet.  
(But if you dont know : a = Move left, d = Move right, Mouse = Aim, Mouse Click = Shoot)

So I have the tank, and the falling bomb… I want it to explode if I hit it… I have an explosion already made and this is the code I am using (Yet nothing happens?)

```auto
if (bullet.hitTest(_root.bomb_drop)){
with (_root.bomb_drop.bomb){
gotoAndPlay("blow-up");
}
}

```

If anyone truly beleives they can fix it if they have the .fla post here, and I will PM you the link.

I would like to keep the game as much as mine as possible for the moment…

Thanks.
