phaser - v4.0.0-rc.4
    Preparing search index...
    • Returns the amount the Game Object is visually offset from its x coordinate. This is the same as width * origin.x. This value will only be > 0 if origin.x is not equal to zero.

      Parameters

      • gameObject: GameObject

        The Game Object to get the bounds value from.

      Returns number