Phaser API Documentation

  Version: 
<readonly> centerX: number

Description:

The horizontal position of the center of the Camera's viewport, relative to the left of the game canvas.

Type:
number
Since: 3.10.0