Clock
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.
- Tick animations
- Poll a condition every N seconds
- Spawn waves
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.
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