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.

Thanks

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...