Sprite#updateCrop()
  • References/Game Development/Phaser/Display/Sprite

updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect

2025-01-10 15:47:30
Sprite#setFrame()
  • References/Game Development/Phaser/Display/Sprite

setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by

2025-01-10 15:47:30
Sprite#reset()
  • References/Game Development/Phaser/Display/Sprite

reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object

2025-01-10 15:47:30
Sprite#left
  • References/Game Development/Phaser/Display/Sprite

left : number The left coordinate of the Game Object.This is the same as x - offsetX.

2025-01-10 15:47:30
Sprite#height
  • References/Game Development/Phaser/Display/Sprite

height : number The height of the sprite, setting this will actually modify the scale to achieve the value set

2025-01-10 15:47:30
Sprite#body
  • References/Game Development/Phaser/Display/Sprite

body : Phaser.Physics.Arcade.Body |

2025-01-10 15:47:30
Sprite#contains()
  • References/Game Development/Phaser/Display/Sprite

contains(child) → {Boolean} Determines whether the specified display object is a child of the D

2025-01-10 15:47:30
Sprite#game
  • References/Game Development/Phaser/Display/Sprite

game : Phaser.Game A reference to the currently running Game

2025-01-10 15:47:30
Sprite#removeChildren()
  • References/Game Development/Phaser/Display/Sprite

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.

2025-01-10 15:47:30
Sprite#cameraOffset
  • References/Game Development/Phaser/Display/Sprite

cameraOffset : Phaser.Point The x/y coordinate offset

2025-01-10 15:47:30