Phaser API Documentation

  Version: 
isStatic()

Description:

Returns true if the body is static, otherwise false for a dynamic body.

Returns:
Description:

true if the body is static, otherwise false.

Type:
  • boolean
Examples:
Since: 3.0.0