onEnter method

void onEnter(
  1. PointerEnterEvent event
)

Implementation

void onEnter(PointerEnterEvent event) {
  isMouse = true;
  isHover = true;

  position = event.localPosition;

  update();

  showEffect(null);
}