Phaser API Documentation

  Version: 
<static> GetLeft(gameObject)

Description:

Returns the left coordinate from the bounds of the Game Object.

Parameters:

name type description
gameObject Phaser.GameObjects.GameObject

The Game Object to get the bounds value from.

Returns:
Description:

The left coordinate of the bounds of the Game Object.

Type:
  • number
Examples:
Since: 3.0.0