Ask coding questions

← Back to all posts
Is there a way to detect that a sprite is touching another sprite in KABOOM JS
h
IcynDevz (764)

Is there a way to detect that a sprite is touching another sprite in KABOOM JS


^^^?

Comments
hotnewtop
SixBeeps (5062)

Use collides() for if you need to run some code for just one frame, or isCollided() along with an update loop for if you need to run code on every frame.