containsPoint method

  1. @visibleForOverriding
bool containsPoint(
  1. Vector2 point
)

Whether this node's hit area contains point.

The default implementation always returns false, so plain nodes are invisible to hitTest. Override to opt a node into hit-testing.

Implementation

@visibleForOverriding
bool containsPoint(Vector2 point) => false;