Jump to content

Group on Stage and Handling Input


Recommended Posts

I'm trying to add a modal group to the stage (using the option in the Phaser.Group constructor) that I can use across states.  This works fine.  The modal group persists between states and appears above my state graphics.  

I'd like to have that group (with full size image) block input for the state graphics below.  I've added a background sprite to my group that covers the screen and turned inputEnabled to true, but I'm still able to click on the state objects below.  I've also tried adjusting the input priority - still no luck.

Is it possible to make this stage layer block input from my state layer.


Link to comment
Share on other sites


  • Recently Browsing   0 members

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