Text#boundsAlignH
  • References/Game Development/Phaser/Text/Text

boundsAlignH : string Horizontal alignment of the text within the textBounds. Can be: 'left', 'center' or 'right'

2025-01-10 15:47:30
Text#health
  • References/Game Development/Phaser/Text/Text

health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.

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

body : Phaser.Physics.Arcade.Body |

2025-01-10 15:47:30
Text#boundsAlignV
  • References/Game Development/Phaser/Text/Text

boundsAlignV : string Vertical alignment of the text within the textBounds. Can be: 'top', 'middle' or 'bottom'.

2025-01-10 15:47:30
Text#colors
  • References/Game Development/Phaser/Text/Text

colors :array An array of the color values as specified by

2025-01-10 15:47:30
Text#key
  • References/Game Development/Phaser/Text/Text

key : string | Phaser.RenderTexture |

2025-01-10 15:47:30
Text#inputEnabled
  • References/Game Development/Phaser/Text/Text

inputEnabled : boolean By default a Game Object won't process any input events. By setting inputEnabled to true a

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

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

2025-01-10 15:47:30
Text#lineSpacing
  • References/Game Development/Phaser/Text/Text

lineSpacing : number Additional spacing (in pixels) between each line of text if multi-line.

2025-01-10 15:47:30
Text#physicsType
  • References/Game Development/Phaser/Text/Text

[readonly] physicsType : number The const physics body type of this object.

2025-01-10 15:47:30