Phaser API Documentation

  Version: 
getAllConstraints()

Description:

Returns all the constraints in the Matter World, including all constraints in children, recursively.

Returns:
Description:

An array of all the Matter JS Constraints in this World.

Type:
  • Array.<MatterJS.ConstraintType>
Since: 3.22.0