Phaser API Documentation

  Version: 
setImmovable([value])

Description:

Sets the Body's immovable property.

Parameters:

name type arguments Default description
value boolean <optional> true

The value to assign to immovable.

Returns:
Description:

This Body object.

Since: 3.0.0