Const
The Pointer Drag Input Event.
This event is dispatched by the Input Plugin belonging to a Scene if a pointer moves while dragging a Game Object.
Listen to this event from within a Scene using: this.input.on('drag', listener).
this.input.on('drag', listener)
A Pointer can only drag a single Game Object at once.
To listen for this event from a specific Game Object, use the [GAMEOBJECT_DRAG]Phaser.Input.Events#event:GAMEOBJECT_DRAG event instead.
The Pointer Drag Input Event.
This event is dispatched by the Input Plugin belonging to a Scene if a pointer moves while dragging a Game Object.
Listen to this event from within a Scene using:
this.input.on('drag', listener).A Pointer can only drag a single Game Object at once.
To listen for this event from a specific Game Object, use the [GAMEOBJECT_DRAG]Phaser.Input.Events#event:GAMEOBJECT_DRAG event instead.