# getBounds

**URL:** <https://forum.kirupa.com/t/getbounds/133899>\
**Category:** Uncategorized\
**Created:** [January 12, 2005, 9:25pm UTC](https://forum.kirupa.com/t/getbounds/133899 "2005-01-12T21:25:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pattt](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@Pattt](https://forum.kirupa.com/u/Pattt)\
**Post date:** [January 12, 2005, 9:25pm UTC](https://forum.kirupa.com/t/getbounds/133899/1 "2005-01-12T21:25:59Z")

</div>

Hi…  
I’m working with a game, and a gun shot gonna hit the enemy.  
When it do that, the hit animation gonna play. but it starts to play  
when it not hit the enemy, it plays when it hitTest the enemy-movieclip bound, that blue lines around.  
Then i heard about getBounds… Can it helps me? And how do the hitTest  
gonna look like?  
//Patrik
