# Help with collision detection

**URL:** <https://forum.kirupa.com/t/help-with-collision-detection/157539>\
**Category:** Uncategorized\
**Created:** [August 2, 2005, 5:25pm UTC](https://forum.kirupa.com/t/help-with-collision-detection/157539 "2005-08-02T17:25:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icehawk](https://avatars.discourse-cdn.com/v4/letter/i/51bf81/32.png) [@Icehawk](https://forum.kirupa.com/u/Icehawk)\
**Post date:** [August 2, 2005, 5:25pm UTC](https://forum.kirupa.com/t/help-with-collision-detection/157539/1 "2005-08-02T17:25:50Z")

</div>

hmm my collision detection isnt working  
this is my object-the archer dude  
 ![](http://i12.photobucket.com/albums/a218/foggythefox/help.jpg)  
does ne 1 know what code i would use?  
i tried the hit test  
i have the character moving up and down by the arrow keys  
but i want him 2 stop once hit hits the tree  
like a boundry?
