Gates ›
Interactive ›
Square Button
Square Button
Outputs a wire signal when clicked. Remains active so long as the interact button is held down. 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 5 wire inputs: Allow Nearby Interaction (bool), Hidden Interaction (bool), Press Sound (any), Prompt Custom Label (string), Release Sound (any). Produces 3 outputs: Held (bool), Character (character), Press Count (int).
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. |
| Press Sound (PressSound) | any | Sound played when you press the button down. |
| Prompt Custom Label (PromptCustomLabel) | string | Text label to use when the prompt widget appears. |
| Release Sound (ReleaseSound) | any | Sound played when you release the button. |
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Held (bHeld) | bool | Whether the button is held. |
| Character | character | Character that just interacted with this brick. |
| Press Count (PressCount) | int | Number of people currently holding this button. |
Source details
- Brick asset
- B_Button_Square_Pressed
- Component class
- Component_Internal_AnimatedButton
- Kind
- internal
- Family
- —
- Half size
- 5 × 5 × 2