Phaser API Documentation

  Version: 
right: number

Description:

The sum of the x and width properties. Changing the right property of a Rectangle object has no effect on the x, y and height properties, however it does affect the width property.

Type:
number
Since: 3.0.0