You can detect collision b/w two sprites by using the intersect or within commands.
for example:
you can detect whether sprite 1 has hit sprite 2 or not with the help of following script:
if sprite 1 intersects sprite 2 then
alert "Collision Detected"
end if
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.