Gates › Timing › Clock

Clock

Unclassified Timing 2 in 1 out 3 config ⬚ 1x1

Automatically emits an execution pulse at the configured interval forever. Use it for repeating actions such as timers, animation steps, or periodic checks.

Diagram

Ports drawn from the source data: inputs left, outputs right, config inside.

How it's used

Emits a periodic exec pulse forever — the heartbeat for anything that updates on an interval.

Run every 2 seconds while enabled

on Clock(interval = 2.0, enabled = running) {
  // runs every 2s when 'running' is true
}

Documented. A Clock can miss a button press shorter than its interval — use Edge on the input for presses, not Clock.

Example grounded in the wirescript built-ins docs (documented behavior). Wirescript is the community language; in-game you wire the equivalent gates by hand, and names can differ from the UI label.

Wire inputs

Wires you feed into the gate.

Display name Type Tooltip
Enabled (bEnabled) bool No tooltip in source
Interval Seconds (IntervalSeconds) float No tooltip in source

Wire outputs

Wires the gate produces.

Display name Type Tooltip
Pulse exec No tooltip in source

Configuration properties

Set on the gate itself in its properties panel — not wired. Distinct from inputs.

Display name Type Tooltip
Pulse On (bPulseOn) bool No tooltip in source
Off Time Seconds (OffTimeSeconds) float No tooltip in source
On Time Seconds (OnTimeSeconds) float No tooltip in source

Source details

Brick asset
B_1x1_Gate_Clock
Component class
BrickComponentType_Clock
Kind
unknown
Family
—
Search tags
timer interval loop repeat pulse oscillator metronome frequency tick
Half size
5 × 5 × 2

From logic_gate_inventory.simple.json @ 9660107, supplemented by gate_docs.json. Documented behavior, not independently tested.