holdsSpotlight
Returns whether a spotlight is running anywhere inside these nodes.
@internote/canvas-sdk/reactOn this page
import { holdsSpotlight } from '@internote/canvas-sdk/react';#Signature
(nodes: CompiledNode[], runtime: EnvironmentContext["animation"]): boolean#Parameters
nodesThe environment's children, searched at any depth.
runtimeThe environment's animation runtime,
ctx.animation.Declared in packages/canvas-sdk/src/react/attention.tsx:195.