Phaser API Documentation

  Version: 
<static> GetRight(gameObject)

Description:

Returns the right 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 right coordinate of the bounds of the Game Object.

Type:
  • number
Since: 3.0.0