Const
The Matter Physics Drag Event.
This event is dispatched by a Matter Physics World instance when a Pointer Constraint is actively dragging a body. It is emitted each time the pointer moves.
Listen to it from a Scene using: this.matter.world.on('drag', listener).
this.matter.world.on('drag', listener)
The Matter Physics Drag Event.
This event is dispatched by a Matter Physics World instance when a Pointer Constraint is actively dragging a body. It is emitted each time the pointer moves.
Listen to it from a Scene using:
this.matter.world.on('drag', listener).