Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Disable clicking through or behind sprite?


Recommended Posts

Hi all,


Is it possible to disable clicking "through" a sprite? As in, if Blanket sprite covers up the Mattress button/sprite visually, is it possible to disable input for the Mattress?


Is it best to check on each of Mattress' touch events that it's not covered up? That seems pretty messy, and I'm wondering if I'm missing something since clearly Phaser already knows which sprite is on top.



Link to comment
Share on other sites


  • Recently Browsing   0 members

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