NarraLeaf

Switch

The Switch widget's checked state, and the enabled and visible flags every widget has.

Nine nodes for a nl.switch element: the checked state in every form an interface needs it, plus the enabled and visible pair.

Conventions

  • Widget blueprints only, and only on a Switch. These are scoped to nl.switch, so they are offered on that widget's own blueprint and nowhere else. To reach a Switch from another graph, use the Element versions.
  • The three readers are pure, so they can appear in a function graph and back a Blueprint Value. The six writers are latent.

Get Checked

blueprint.switch.getChecked · Pure

PinDirectionType
checkedout · databoolean

Set Checked

blueprint.switch.setChecked · Latent

PinDirectionTypeNotes
inin · exec
checkedin · databooleanLiteral.
nextout · exec

Turn On

blueprint.switch.turnOn · Latent

Set Checked with true, as its own card so the common case reads as one word.

PinDirectionType
inin · exec
nextout · exec

Turn Off

blueprint.switch.turnOff · Latent

PinDirectionType
inin · exec
nextout · exec

Toggle

blueprint.switch.toggle · Latent

PinDirectionTypeNotes
inin · exec
nextout · exec
checkedout · databooleanThe state it ended up in.

Get Enabled

blueprint.switch.getEnabled · Pure

PinDirectionType
enabledout · databoolean

Set Enabled

blueprint.switch.setEnabled · Latent

PinDirectionTypeNotes
inin · exec
enabledin · databoolean
nextout · exec

Get Visible

blueprint.switch.getVisible · Pure

PinDirectionType
visibleout · databoolean

Set Visible

blueprint.switch.setVisible · Latent

PinDirectionTypeNotes
inin · exec
visiblein · databoolean
nextout · exec

On this page