Block Type Reference

NORTHSTARSHOW SYSTEMS

Block Type Reference

Every block kind, with parameters

Document NumberRevisionDatePlatform Version
NSSS-DOC-0061A2026-05-201.0

Hat Blocks

KindParametersFires When
event-manual(none)Operator clicks GO, or HTTP /api/cues/:id/go is called
event-inputnodeId, inputIdThe specified input pin transitions to active state
event-input-comboinputs[], mode (simultaneous | held), windowMsMultiple inputs activate together within the window
event-schedulescheduleId (references project.schedules)A cron expression matches
event-cue-completecueIdThe referenced cue finishes (ok or aborted)
event-cuemasternodeId, eventKeyA Cuemaster event with the matching key is fired

Stack Blocks

KindParametersEffect
action-firenodeId, channelId, value (default 1)Sets the channel to value
action-releasenodeId, channelIdReturns the channel to default state
action-pulsenodeId, channelId, durationMsDrives the channel active for durationMs, then releases
action-play-audionodeId, trackIdPulses the trigger pin for the specified audio track
action-trigger-videonodeIdPulses D2 on the targeted Polaris Video Node
action-stop-all(none)Aborts every active cue and broadcasts UDP STOP
action-cuemasternodeId, outputKey, payloadSends a Cuemaster output event

Control Blocks

KindParametersEffect
waitms (number slot)Pauses the script for ms milliseconds
repeatcount (number slot)Runs the body count times
forever(none)Runs the body until the cue is aborted
ifcondition (boolean slot)Runs the body if condition is true
if-elsecondition (boolean slot)Runs body A if true, body B otherwise

Reporter Blocks

KindReturns
literalA constant numeric value entered in Compose
current-timeMilliseconds since the cue started
channel-stateThe last-known value of an output channel
input-valueThe most recent value of an input pin
node-online1 if the node is heartbeating, 0 otherwise

Boolean Blocks

KindReturns
equalstrue if two reporters compare equal
greater-thantrue if A > B
less-thantrue if A < B
and / or / notLogical combinators
channel-is-hightrue if a channel is currently active
  • NSSS-DOC-0060Block Programming Concepts

Revision History

RevisionDateDescription
A2026-05-20Initial publication