Phaser API Documentation

  Version: 
centerToBounds()

Description:

Moves the Camera so that it is looking at the center of the Camera Bounds, if enabled.

Returns:
Description:

This Camera instance.

Since: 3.0.0