Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Is it possible to detect a hitTestPoint on a movieclip item? — Gideros Forum

Is it possible to detect a hitTestPoint on a movieclip item?

mykyl66mykyl66 Member
edited February 2012 in General questions
On single image items doing this :-
function onMouseDown(self, event)
print ("yep, you touched me")
if self:hitTestPoint(event.x, event.y) then
self.isFocus = true
self.x0 = event.x
self.y0 = event.y

etc etc etc works perfectly. I can get and print out x, y positions and anything I like.

However on an item that is made up using a movieclip
the same function would be triggered but only the print statement would actually do anything. Anything after the print statement doesn't trigger at all.

If you need any more info then please ask.

Currently I am guessing a hitTestPoint doesn't register with movieclips.

Mike
What would you do for your other half?

http://www.sharksoupstudios.com

Comments

Sign In or Register to comment.