handlerPointerMove method

  1. @override
bool handlerPointerMove(
  1. PointerMoveEvent event
)
override

Implementation

@override
bool handlerPointerMove(PointerMoveEvent event) {
  if (event.kind == PointerDeviceKind.mouse) {
    int pointer = event.pointer;
    Vector2 position = event.localPosition.toVector2();
    onMouseMoveScreen(pointer, position, _getMouseButtonByInt(event.buttons));
  }
  return super.handlerPointerMove(event);
}