InputHandler#priorityID

priorityID : number

The priorityID is used to determine which game objects should get priority when input events occur. For example if you have
several Sprites that overlap, by default the one at the top of the display list is given priority for input events. You can
stop this from happening by controlling the priorityID value. The higher the value, the more important they are considered to the Input events.

Source code: input/InputHandler.js (Line 45)
doc_phaser
2017-02-14 10:53:31
Comments
Leave a Comment

Please login to continue.