SpriteBatch#multiplyAll()

multiplyAll(property, amount, checkAlive, checkVisible) Multiplies the given property by the amount on all children in this group. Group.multiplyAll('x', 2) will x2 the child.x value for each child. Parameters Name Type Description property string The property to multiply, for example 'body.velocity.x' or 'angle'. amount number The amount to multiply the property by. If child.x = 10 then multiplyAll('x', 2) would make child.x = 20. checkAlive boolean If true the property will only be c

SpriteBatch#moveUp()

moveUp(child) → {any} Moves the given child up one place in this group unless it's already at the top. Parameters Name Type Description child any The child to move up in the group. Returns any - The child that was moved. Inherited From Phaser.Group#moveUp Source code: core/Group.js (Line 945)

SpriteBatch#moveDown()

moveDown(child) → {any} Moves the given child down one place in this group unless it's already at the bottom. Parameters Name Type Description child any The child to move down in the group. Returns any - The child that was moved. Inherited From Phaser.Group#moveDown Source code: core/Group.js (Line 969)

SpriteBatch#moveAll()

moveAll(group, silent) → {Phaser.Group} Moves all children from this Group to the Group given. Parameters Name Type Argument Default Description group Phaser.Group The new Group to which the children will be moved to. silent boolean <optional> false If true the children will not dispatch the onAddedToGroup event for the new Group. Returns Phaser.Group - The Group to which all the children were moved. Inherited From Phaser.Group#moveAll Source code: core/Group.js (L

SpriteBatch#length

[readonly] length : integer Total number of children in this group, regardless of exists/alive status. Inherited From Phaser.Group#length Source code: core/Group.js (Line 2665)

SpriteBatch#left

left : number The left coordinate of this Group. It is derived by calling getBounds, calculating the Groups dimensions based on itsvisible children. Inherited From Phaser.Group#left Source code: core/Group.js (Line 2761)

SpriteBatch#iterate()

iterate(key, value, returnType, callback, callbackContext, args) → {any} Iterates over the children of the group performing one of several actions for matched children. A child is considered a match when it has a property, named key, whose value is equal to valueaccording to a strict equality comparison. The result depends on the returnType: RETURN_TOTAL: The callback, if any, is applied to all matching children. The number of matched children is returned. RETURN_NONE: The callback, if any,

SpriteBatch#inputEnableChildren

inputEnableChildren : boolean A Group with inputEnableChildren set to true will automatically call inputEnabled = trueon any children added to, or created by, this Group. If there are children already in the Group at the time you set this property, they are not changed. Inherited From Phaser.Group#inputEnableChildren Source code: core/Group.js (Line 149)

SpriteBatch#ignoreDestroy

ignoreDestroy : boolean A group with ignoreDestroy set to true ignores all calls to its destroy method. Inherited From Phaser.Group#ignoreDestroy Source code: core/Group.js (Line 107)

SpriteBatch#ignoreChildInput

ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children to be considered as valid for Input events. If this property is true then the children will not be considered as valid for Input events. Note that this property isn't recursive: only immediate children are influenced, it doesn't scan further down. Inherited From PIXI.DisplayObjectContainer#ignoreChildInput Source code: pixi/display/DisplayObjectContainer.js (Line 26)