MapPickDrag beta
Interface of @v12-engine/editor
ts
export interface MapPickDragA drag of something a panel drew (MapPickOptions.grab): told where the pointer is as it moves held, and as it is let go, or that it was not (Escape, the panel gone: cancel)
Members
cancel
ts
cancel?(): void;Told that the drag was stopped without being let go: Escape, or the panel gone
drop
ts
drop(at: MapPick): void;Told where the pointer is as the drag is let go
move
ts
move(at: MapPick): void;Told where the pointer is as the drag moves, with the button held