frameName : string Gets or sets the current frame name of the texture being used to render this Game Object. To change the
preUpdate() Pre-update is called at the very start of the update cycle, before any other subsystems have been updated (including Physics)
preUpdate() → {boolean} Automatically called by World.preUpdate. Returns
x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.
bottom : number The sum of the y and height properties.This is the same as y + height - offsetY.
postUpdate() PostUpdate is the last thing to be called before the world render.In particular, it is called after the world postUpdate
top : number The y coordinate of the Game Object.This is the same as y - offsetY.
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
key : string | Phaser.RenderTexture |
[readonly] offsetY : number The amount the Game Object is visually offset from its y coordinate
Page 11 of 14