cueGroup(...) — manage groups of cues or UI elements

Injects or activates predefined groups of cues, buttons, or interface elements
defined within the SVG score. cueGroup is used to dynamically load reusable
sections of the interface — such as navigation panels, menus, or overlays —
when a page or section of the score is displayed.

Syntax

cueGroup() cueGroup(mainMenu) cueGroup(performance) cueGroup(instrumentA) cueGroup(overlayControls)

sql Copy code

Arguments

Argument Description
groupName The ID of a group defined in the SVG (e.g. mainMenu, performance)
page (optional) Page context, if called within a page cue
overlay Boolean flag determining whether the group overlays existing elements
onLoad Optional callback to run when group is injected

Behavior

When a new page is loaded, the cue system checks for any group names requested by cueGroup(...) and injects them automatically into the page.

Multiple groups can coexist; newly injected ones replace or overlay previous ones depending on configuration.

All group injections and removals are synchronized across connected clients.

Examples

cueGroup(mainMenu) cueGroup(performance) cueGroup(instrumentA) cueGroup(pageOverlay)

Notes

Tip: use ← → or ↑ ↓ to navigate the docs