World#callAllExists()

callAllExists(callback, existsValue, parameter) Calls a function, specified by name, on all children in the group who exist (or do not exist). After the existsValue parameter you can add as many parameters as you like, which will all be passed to the child callback. Parameters Name Type Argument Description callback string Name of the function on the children to call. existsValue boolean Only children with exists=existsValue will be called. parameter any <repeatable> Additio

World#callAll()

callAll(method, context, args) Calls a function, specified by name, on all on children. The function is called for all children regardless if they are dead or alive (see callAllExists for different options).After the method parameter and context you can add as many extra parameters as you like, which will all be passed to the child. Parameters Name Type Argument Default Description method string Name of the function on the child to call. Deep property lookup is supported. context stri

World#bringToTop()

bringToTop(child) → {any} Brings the given child to the top of this group so it renders above all other children. Parameters Name Type Description child any The child to bring to the top of this group. Returns any - The child that was moved. Inherited From Phaser.Group#bringToTop Source code: core/Group.js (Line 907)

World#bounds

bounds : Phaser.Rectangle The World has no fixed size, but it does have a bounds outside of which objects are no longer considered as being "in world" and you should use this to clean-up the display list and purge dead objects.By default we set the Bounds to be from 0,0 to Game.width,Game.height. I.e. it will match the size given to the game constructor with 0,0 representing the top-left of the display.However 0,0 is actually the center of the world, and if you rotate or scale the world all o

World#bottom

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

World#angle

angle : number The angle of rotation of the group container, in degrees. This adjusts the group itself by modifying its local rotation transform. This has no impact on the rotation/angle properties of the children, but it will update their worldTransformand on-screen orientation and position. Inherited From Phaser.Group#angle Source code: core/Group.js (Line 2682)

World#alpha

alpha : number The alpha value of the group container. Inherited From Phaser.Group#alpha Source code: core/Group.js (Line 3003)

World#alive

alive : boolean The alive property is useful for Groups that are children of other Groups and need to be included/excluded in checks like forEachAlive. Inherited From Phaser.Group#alive Default Value true Source code: core/Group.js (Line 93)

World#alignTo()

alignTo(parent, position, offsetX, offsetY) → {Phaser.Group} Aligns this Group to the side of another Game Object, or Rectangle, known as the'parent', in one of 11 possible positions. The parent must be a Game Object, or Phaser.Rectangle object. This can include propertiessuch as World.bounds or Camera.view, for aligning Groups within the worldand camera bounds. Or it can include other Sprites, Images, Text objects, BitmapText,TileSprites or Buttons. Please note that aligning a Group to anoth

World#alignIn()

alignIn(container, position, offsetX, offsetY) → {Phaser.Group} Aligns this Group within another Game Object, or Rectangle, known as the'container', to one of 9 possible positions. The container must be a Game Object, or Phaser.Rectangle object. This can include propertiessuch as World.bounds or Camera.view, for aligning Groups within the worldand camera bounds. Or it can include other Sprites, Images, Text objects, BitmapText,TileSprites or Buttons. Please note that aligning a Group to anoth