Print

Category: Executor Tier: Basic

Purpose

Writes deterministic probe lines to the console for demo verification, debugging, and lightweight value inspection.

Visual Reference

As added to your scene
Print brick as it appears in the GDLink editor

Runtime Behavior

Inputs

  • Activate (Boolean): Emits one console line when the executor is triggered.

Properties

  • message (String, "")

    • Base message text written to the console.

    • Supports template token substitution:

      • {name}

      • {position}

      • {velocity}

      • {speed}

      • {mouse_pos}

      • {mouse_delta}

  • include_timestamp (Bool, true)

    • When enabled, prepends an elapsed-seconds timestamp in the form [123.456] .

  • variable_name (String, "")

    • Optional variable name to append after the message as | name=value.

  • scope (Enum, Global)

    • Local: reads from the target node’s metadata/local_variables.

    • Global: reads from /root/GDLinkGlobals.

Generated UI Mockup — showing expanded properties
Print
-
x
Name:
Label this brick...
Message:
v
Include Timestamp:
v
Variable Name:
v
Scope:
v

Properties

Property

Type

Default

Notes

Message

string

Debug Output

Text to print to console

Timestamp

bool

True

Prepend timestamp to output

Variable

variable_name

Optional: Print value of a variable

Scope

option

Global

Read variable from global or local scope