Phaser API Documentation

  Version: 
allowGravity: boolean

Description:

Whether this Body's position is affected by gravity (local or world).

Type:
boolean
Default: true
Since: 3.0.0