Hierarchy

  • IMouseConstraint

Properties

body: null | IBody

The Body that is currently being moved by the user, or null if no body.

Default

null
collisionFilter: ICollisionFilter

An Object that specifies the collision filter properties. The collision filter allows the user to define which types of body this mouse constraint can interact with. See body.collisionFilter for more information.

constraint: IConstraint

The Constraint object that is used to move the body during interaction.

element: null | HTMLElement
mouse: IMouse

The Mouse instance in use. If not supplied in MouseConstraint.create, one will be created.

type: "mouseConstraint"

A String denoting the type of object.

Generated using TypeDoc