Jump to content

Detect when a Sprite "hits" the bounds


Recommended Posts



I was going through the docs searching for a "smart way" or built in method to detect when a Sprite "collides" with the game world's bounds ...

I saw that there was the 


method (as far as I saw in the examples it works with Sprite and I'm probably wrong) but I don't have a Sprite on the "bottom/floor" of my game.
Is that possible or should I just check the Sprite's position.y value to do that (or is there a callback)?


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...