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