handlerPointerUp method
Implementation
@override
bool handlerPointerUp(PointerUpEvent event) {
if (_pointer == event.pointer && !_initMove && _actionMoveToPosition) {
final absolutePosition = gameRef.screenToWorld(
event.position.toVector2(),
);
moveTo(absolutePosition);
}
_initMove = false;
return super.handlerPointerUp(event);
}