# HitTestPoint on Transparent PNG

**URL:** https://forum.kirupa.com/t/hittestpoint-on-transparent-png/253824
**Category:** flash
**Created:** [March 5, 2008, 2:11pm UTC](https://forum.kirupa.com/t/hittestpoint-on-transparent-png/253824 "2008-03-05T14:11:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Wedge\_Man](https://avatars.discourse-cdn.com/v4/letter/w/f07891/32.png) [@Wedge\_Man](https://forum.kirupa.com/u/Wedge_Man)
#### Post date: [March 5, 2008, 2:11pm UTC](https://forum.kirupa.com/t/hittestpoint-on-transparent-png/253824/1 "2008-03-05T14:11:32Z")

</div>

Hey all,

So i have a transparent .png that is about 100px by 200px with a picture of a man in the middle.

I want to click on the man and only the man to have my function fire but it seems like if i click within the bounding box, the function still fires.

I’m using the hitTestPoint function that seems to say I can specify whether I want to do an alpha check or a shape check. Both of those options seem to do the same thing when I run it real time.

Any ideas?

Thanks!
