ArraySet#add()

add(item) → {any} Adds a new element to the end of the list.If the item already exists in the list it is not moved. Parameters Name Type Description item any The element to add to this list. Returns any - The item that was added. Source code: utils/ArraySet.js (Line 38)

Mouse#event

event :MouseEvent | null The browser mouse DOM event. Will be null if no mouse event has ever been received.Access this property only inside a Mouse event handler and do not keep references to it. Type MouseEvent | null Source code: input/Mouse.js (Line 115)

TilemapLayer#deltaY

[readonly] deltaY : number Returns the delta y value. The difference between world.y now and in the previous frame. The value will be positive if the Game Object has moved down or negative if up. Inherited From Phaser.Component.Delta#deltaY Source code: gameobjects/components/Delta.js (Line 42)

MSPointer#onPointerDown()

onPointerDown(event) The function that handles the PointerDown event. Parameters Name Type Description event PointerEvent The native DOM event. Source code: input/MSPointer.js (Line 193)

GameObjectFactory#sprite()

sprite(x, y, key, frame, group) → {Phaser.Sprite} Create a new Sprite with specific position and sprite sheet key. At its most basic a Sprite consists of a set of coordinates and a texture that is used when rendered.They also contain additional properties allowing for physics motion (via Sprite.body), input handling (via Sprite.input),events (via Sprite.events), animation (via Sprite.animations), camera culling and more. Please see the Examples for use cases. Parameters Name Type Argument De

FlexLayer#xy()

xy(index, x, y) Positions the child found at the given index within this group to the given x and y coordinates. Parameters Name Type Description index integer The index of the child in the group to set the position of. x number The new x position of the child. y number The new y position of the child. Inherited From Phaser.Group#xy Source code: core/Group.js (Line 993)

Physics.P2#onContactMaterialRemoved

onContactMaterialRemoved : Phaser.Signal This signal is dispatched when a Contact Material is removed from the World. It sends 1 argument: material which is the Phaser.Physics.P2.ContactMaterial that was removed from the world. Source code: physics/p2/World.js (Line 160)

Tilemap#collideIndexes

collideIndexes :array An array of tile indexes that collide. Source code: tilemap/Tilemap.js (Line 125)

SpriteBatch#resetCursor()

resetCursor(index) → {any} Sets the group cursor to the first child in the group. If the optional index parameter is given it sets the cursor to the object at that index instead. Parameters Name Type Argument Default Description index integer <optional> 0 Set the cursor to point to a specific index. Returns any - The child the cursor now points to. Inherited From Phaser.Group#resetCursor Source code: core/Group.js (Line 806)

Physics.P2.BodyDebug#resetCursor()

resetCursor(index) → {any} Sets the group cursor to the first child in the group. If the optional index parameter is given it sets the cursor to the object at that index instead. Parameters Name Type Argument Default Description index integer <optional> 0 Set the cursor to point to a specific index. Returns any - The child the cursor now points to. Inherited From Phaser.Group#resetCursor Source code: core/Group.js (Line 806)