Kent Wood Posted March 22, 2016 Share Posted March 22, 2016 Hi, world --popUpsGroup --someCardsIncludePanel --cardSprite --tableGroup --cardSprite suppose the stage structure like above displayed. there are 2 cards.one is placed inside a popup panel,and another is place on the table.both are inputEnable=true suppose i am going to do some interactive to the cards in the popups. however,the card on the table interrupt the mouse interactive,and it looks that the interactive area of card on the table is over the card in popups,even it is exactly placed behind in view why that happen? how to avoid that? thanks for your attention and anwser Link to comment Share on other sites More sharing options...
rich Posted March 22, 2016 Share Posted March 22, 2016 http://phaser.io/examples/v2/input/input-priority Link to comment Share on other sites More sharing options...
Kent Wood Posted March 22, 2016 Author Share Posted March 22, 2016 thanks rich so the priority setting is a global setting? i thought it is only compare the object in the same container,and the top objects always have high priority appreciate again Link to comment Share on other sites More sharing options...
rich Posted March 22, 2016 Share Posted March 22, 2016 Nope, it's shared between all input enabled objects. Containers don't have any influence over input priorities. Link to comment Share on other sites More sharing options...
Recommended Posts