# Help with button + hittest of other objects

**URL:** <https://forum.kirupa.com/t/help-with-button-hittest-of-other-objects/141429>\
**Category:** Uncategorized\
**Created:** [March 20, 2005, 2:07am UTC](https://forum.kirupa.com/t/help-with-button-hittest-of-other-objects/141429 "2005-03-20T02:07:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![patricktheking](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@patricktheking](https://forum.kirupa.com/u/patricktheking)\
**Post date:** [March 20, 2005, 2:07am UTC](https://forum.kirupa.com/t/help-with-button-hittest-of-other-objects/141429/1 "2005-03-20T02:07:07Z")

</div>

sorry to bother you guys with this trivial question but im starting to use flash again and ive drawn a blank on small problem.  
the problem is that i have a button and i forget how to add the hittest kinda action thingy to it. i have this attacted to my button clip.

on (release) {  
if (\_root.guy.body, hitTest(\_root.thing)) {  
\_root.thing gotoAndPlay(2);  
}

i forget wat to do here to make my thingy work with the hittest.  
plz help
