localDelta property

GPoint localDelta

The delta of the mouse movement in the display object's coordinate system.

Implementation

GPoint get localDelta {
  final d = rawEvent?.rawEvent.localDelta;
  if (d == null) {
    return _localDelta.setEmpty();
  }
  return _localDelta.setTo(d.dx, d.dy);
}