Phaser API Documentation

  Version: 
updateBounds()

Description:

Updates the Body's transform, width, height, and center from its Game Object. The Body's position isn't changed.

Since: 3.0.0