Skip to content

hits

hits(node, x, y, pad?): boolean

Whether the point (stage units) touches the node: in its local space, inside the rectangle (or circle) grown by pad stage units. Rotation and scale are taken into account.

Hittable

number

number

number

boolean