Function: hitTestNode()
ts
function hitTestNode(handle, globalPoint): boolean;Tests a global point against the node's local-space suity.hitArea2d rectangle. Returns false when the node has no hit area or its size is non-positive.
Parameters
| Parameter | Type |
|---|---|
handle | SceneNodeHandle |
globalPoint | { x: number; y: number; } |
globalPoint.x | number |
globalPoint.y | number |
Returns
boolean
