onTapDown method

  1. @override
bool onTapDown(
  1. int pointer,
  2. Vector2 position
)
override

Implementation

@override
bool onTapDown(int pointer, Vector2 position) {
  selected = true;
  return true;
}