Skip to main content
Version: 2026.7
Still in testing

The SDK of this version is still being tested, and these pages are being updated with it: names, menus and procedures may still change before the release. If you build content for a platform already in production, follow the documentation of that version — pick it from the version menu at the top right.

Interaction Cue Nodes

These nodes read and drive an Interaction Cue. They are provided by the Virtuademy-SDK-Environments package.

Every node takes a Cue (InteractionCuePlaceholder). If you leave it empty it defaults to the cue on the same GameObject as the graph. A node with no cue connected and none on its GameObject throws an error: that is a mistake of the graph, not something to skip.

The nodes act on this client, except Show Cue Feedback, which reaches every user of the room when the cue is networked.

Expose Nodes​

Get Cue State Node​

🔍 Virtuademy > Interaction Cue > Virtuademy Interaction Cue: Get Cue State

This Node reads the state of a cue and what it is made of.

  • ⬇️ Input:

    • Cue (InteractionCuePlaceholder), the cue to read. If left empty, it defaults to the one on the same GameObject.
  • ⬆️ Output:

    • State (EInteractionCueState), the state the cue shows now: Available, NextTarget, Hover, Selected, Right, Wrong, Completed or Locked.
    • BaseState (EInteractionCueState), the base state under the others: Available, NextTarget or Completed.
    • IsHovered (bool), whether the user points at the object.
    • IsSelected (bool), whether the user selected the object.
    • IsLocked (bool), whether the cue is locked.

Flow Nodes​

Set Cue State Node​

🔍 Virtuademy > Interaction Cue > Virtuademy Interaction Cue: Set Cue State

This Node sets the base state of a cue. A cue that follows tasks sets it again whenever a task changes: the last change wins.

  • ⬇️ Input:
    • Cue (InteractionCuePlaceholder), the cue to change. If left empty, it defaults to the one on the same GameObject.
    • State (EInteractionCueState), the base state: Available, NextTarget (the default) or Completed. Any other state throws an error.

Set Cue Locked Node​

🔍 Virtuademy > Interaction Cue > Virtuademy Interaction Cue: Set Cue Locked

This Node locks or unlocks a cue: a locked cue shows no rim and ignores hover. A cue is also locked while its object's Interactable is blocked, and unlocking it here does not unblock the Interactable.

  • ⬇️ Input:
    • Cue (InteractionCuePlaceholder), the cue to lock or unlock. If left empty, it defaults to the one on the same GameObject.
    • Locked (bool), true (the default) to lock it, false to unlock it.

Show Cue Feedback Node​

🔍 Virtuademy > Interaction Cue > Virtuademy Interaction Cue: Show Cue Feedback

This Node shows a right or wrong action on a cue for its Feedback Seconds, with what its Feedback setting says (rim, mark, flash, sound). A new one replaces the one shown. In multiplayer, a cue with Is Networked shows it to every user of the room.

  • ⬇️ Input:
    • Cue (InteractionCuePlaceholder), the cue that shows it. If left empty, it defaults to the one on the same GameObject.
    • Right (bool), true (the default) for a right action, false for a wrong one.

Event Nodes​

On Cue Changed​

🔍 Events > Virtuademy > Virtuademy Interaction Cue: On Cue Changed

This event triggers when the state of a cue changes.

  • ⬇️ Input:

    • Cue (InteractionCuePlaceholder), the cue to watch. If left empty, it defaults to the one on the same GameObject.
  • ⬆️ Output:

    • Previous (EInteractionCueState), the state the cue showed.
    • Current (EInteractionCueState), the state it shows now.