Drag Event
Pointer-driven drag event payload in PhysicsBox container coordinates (pixels).
Two positions are provided:
pointerXPx/pointerYPx: the raw pointer location (finger/mouse) in container px.
targetXPx/targetYPx: the effective target used by the drag controller (may differ from pointer position due to anchoring, clamping, or other engine-defined adjustments).
Velocity components (velocityXPxPerSec, velocityYPxPerSec) represent the estimated pointer velocity in px/s near the time of the event (useful for fling on release and UI effects).
Parameters
Physics body key associated with this drag.
Drag lifecycle phase.
Raw pointer X in container px.
Raw pointer Y in container px.
Target X in container px used by the drag controller.
Target Y in container px used by the drag controller.
Estimated pointer velocity X in px/s.
Estimated pointer velocity Y in px/s.
Event time in uptime millis (suitable for ordering and duration calculations).
Constructors
Convenience constructor for a simple move/update event where the drag target equals the pointer position.