Pointer#interactiveCandidates

interactiveCandidates :array

This array is erased and re-populated every time this Pointer is updated. It contains references to all
of the Game Objects that were considered as being valid for processing by this Pointer, this frame. To be
valid they must have suitable a priorityID, be Input enabled, visible and actually have the Pointer over
them. You can check the contents of this array in events such as onInputDown, but beware it is reset
every frame.

Default Value
  • []
Source code: input/Pointer.js (Line 310)
doc_phaser
2017-02-14 11:06:00
Comments
Leave a Comment

Please login to continue.