func_button
A brush that physically depresses when activated via the Use input and fires an output. Intended for wall-mounted buttons and interactive switches.
Properties
Name Type Description
Move Direction Direction The direction the button face moves when pressed. Use a small negative value along the face normal to get a realistic press-in effect, e.g. (0,0,-0.1). Inputs
Name Parameter Description
Use — Activates the button. Typically called by the player controller on interaction. Triggers the press animation and fires OnInteracted. Outputs
Name Pass Variables Description
OnInteracted — Fires each time the button is pressed. Notes
The button animates by moving 10% of its Move Direction value when pressed, then springs back after one second.
Unlike func_sliding, func_button has no wait or toggle state. Every press fires OnInteracted unconditionally. If you need a button that only works once, gate it downstream with a LogicBranch.
The activator entity (whatever called Use) is passed through the output chain as the _activator, so downstream entities can target whoever pressed the button.