Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Touch Target Question — Gideros Forum

Touch Target Question

NinjadoodleNinjadoodle Member
edited March 2016 in General questions
Hi guys

Just wondering whether there is a way to give a sprite an event listener, but then check for a touch on another image within that sprite.

for example ...
function onTouch(target, event)
 
		if target.hitmap:hitTestPoint(event.x, event.y) then
I'm can't get this working, and I'm not really sure if its possible.

Than you heaps in advance!

Comments

Sign In or Register to comment.