# Gskinner's shape based hitdetection

**URL:** <https://forum.kirupa.com/t/gskinners-shape-based-hitdetection/195816>\
**Category:** Uncategorized\
**Created:** [August 3, 2006, 12:19pm UTC](https://forum.kirupa.com/t/gskinners-shape-based-hitdetection/195816 "2006-08-03T12:19:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flashmatazz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/flashmatazz/32/140_2.png) [@Flashmatazz](https://forum.kirupa.com/u/Flashmatazz)\
**Post date:** [August 3, 2006, 12:19pm UTC](https://forum.kirupa.com/t/gskinners-shape-based-hitdetection/195816/1 "2006-08-03T12:19:09Z")

</div>

if you haven’t seen it: [http://www.gskinner.com/blog/archives/2005/10/source\_code\_sha.html](http://www.gskinner.com/blog/archives/2005/10/source_code_sha.html)

it looks perfect for what I’d like to achieve but I have a problem implementing it.

It works fine when I have 2 mc’s on stage, but when I want to test collision against a nested mc where it’s parent is not positioned on (0,0) I start to have problems.

See attached file for an example.

Anyone have an idea how to get this to work?
