Moves the Camera horizontally so that it is centered on the given x coordinate, bounds allowing. Calling this does not change the scrollY value.
name | type | description |
---|---|---|
x | number |
The horizontal coordinate to center on. |
This Camera instance.