Function: getHitAreaLocalRect()
ts
function getHitAreaLocalRect(handle): HitAreaLocalRect | null;Reads the node's suity.hitArea2d rectangle in local space. x / y are the rectangle center offsets from the node origin. Returns null when the node has no hit area or its size is non-positive.
Parameters
| Parameter | Type |
|---|---|
handle | SceneNodeHandle |
Returns
HitAreaLocalRect | null
