isPointerBlockedInTree
isPointerBlockedInTree(
world,entity):boolean
Defined in: sdk/src/ui/util/helpers.ts:98
Whether the pointer passes through
Parameters
Section titled “Parameters”Pick<World, "has" | "get" | "valid">
entity
Section titled “entity”number
Returns
Section titled “Returns”boolean
entity because of UINode.pointerEvents:
the nearest node, itself first, whose value is not Auto decides — None lets the
pointer through, Receive takes it back (CSS pointer-events: auto written on a
child). The rule the engine’s layout applies; this is it for code that asks
between layouts.