Phaser API Documentation

  Version: 
active: boolean

Description:

Is this Constraint active or not?

An active constraint will be processed each update. An inactive one will be skipped. Use this to toggle a Pointer Constraint on and off.

Type:
boolean
Default: true
Since: 3.0.0