Group#y

y : number The y coordinate of the group container. You can adjust the group container itself by modifying its coordinates.This will have no impact on the x/y coordinates of its children, but it will update their worldTransform and on-screen position. Source code: core/Group.js (Line 2978)

Group#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. Source code: core/Group.js (Line 993)

Group#x

x : number The x coordinate of the group container. You can adjust the group container itself by modifying its coordinates.This will have no impact on the x/y coordinates of its children, but it will update their worldTransform and on-screen position. Source code: core/Group.js (Line 2969)

Group#width

width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set Inherited From PIXI.DisplayObjectContainer#width Source code: pixi/display/DisplayObjectContainer.js (Line 571)

Group#visible

visible : boolean The visible state of the group. Non-visible Groups and all of their children are not rendered. Source code: core/Group.js (Line 2996)

Group#total

[readonly] total : integer Total number of existing children in the group. Source code: core/Group.js (Line 2648)

Group#top

top : number The top coordinate of this Group. It is derived by calling getBounds, calculating the Groups dimensions based on itsvisible children. Source code: core/Group.js (Line 2817)

Group#swapChildren()

swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters Name Type Description child DisplayObject - child2 DisplayObject - Inherited From PIXI.DisplayObjectContainer#swapChildren Source code: pixi/display/DisplayObjectContainer.js (Line 85)

Group#swap()

swap(child1, child2) Swaps the position of two children in this group. Both children must be in this group, a child cannot be swapped with itself, and unparented children cannot be swapped. Parameters Name Type Description child1 any The first child to swap. child2 any The second child to swap. Source code: core/Group.js (Line 891)

Group#subAll()

subAll(property, amount, checkAlive, checkVisible) Subtracts the amount from the given property on all children in this group. Group.subAll('x', 10) will minus 10 from the child.x value for each child. Parameters Name Type Description property string The property to decrement, for example 'body.velocity.x' or 'angle'. amount number The amount to subtract from the property. If child.x = 50 then subAll('x', 40) would make child.x = 10. checkAlive boolean If true the property will only be