handlerPointerDown method

  1. @override
bool handlerPointerDown(
  1. PointerDownEvent event
)
override

Implementation

@override
bool handlerPointerDown(PointerDownEvent event) {
  _startPoint = event.position.toVector2();
  _startCameraPosition = gameRef.camera.position;
  return super.handlerPointerDown(event);
}