Jump to content

input detection on body (Arcade physics system)


Recommended Posts

Im trying to figure out how I can add a click event on a sprite arcade body. On p2 physics, there is a hitTest but not on the arcade one. Also, I tried to use input.hitTest but the box is not detected (I think because there is no hitArea property defined). Anyone can help me?


Thank you

Link to comment
Share on other sites


  • Recently Browsing   0 members

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