Gates ›
Interactive ›
Toggle Switch
Toggle Switch
A switch that flips when interacted with. Outputs True when turned on, and outputs False when turned off. gate_docs
Diagram
Ports drawn from the source data: inputs left, outputs right, config inside.
How it's used
Structural overview — derived from this gate's ports, not
from tested behavior. Takes 4 wire inputs: Allow Nearby Interaction (bool), Hidden Interaction (bool), Interact Sound (any), Prompt Custom Label (string). Produces 2 outputs: Enabled (bool), Character (character).
Technical details — ports, config & source
Wire inputs
Wires you feed into the gate.
| Display name | Type | Tooltip |
|---|---|---|
| Allow Nearby Interaction (bAllowNearbyInteraction) | bool | Allows players near the button in third person to interact with this brick without aiming at it. |
| Hidden Interaction (bHiddenInteraction) | bool | This interactable will not change the player's crosshair or pop up any labels. |
| Interact Sound (InteractSound) | any | Sound that plays when interacting with this switch. |
| Prompt Custom Label (PromptCustomLabel) | string | Text label to use when the prompt widget appears. |
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Enabled (bEnabled) | bool | Whether the switch is switched on. |
| Character | character | Character that just interacted with this brick. |
Source details
- Brick asset
- B_Switch_Flipped
- Component class
- Component_Internal_AnimatedSwitch
- Kind
- internal
- Family
- —
- Half size
- 5 × 5 × 3