localDelta property

Vector2 get localDelta
inherited

Event delta in the local coordinate space of the current component.

This property is only accessible when the event is being propagated to the components via deliverAtPoint. It is an error to try to read this property at other times.

Implementation

Vector2 get localDelta => localEndPosition - localStartPosition;