Enum FuncButton.SpawnFlag ​
Namespace: ValveResourceFormat.Renderer.Entities
Assembly: Renderer.dll
What a func_button's spawnflags mean.
csharp
[Flags]
public enum FuncButton.SpawnFlag : uintFields ​
None = 0
No flags.
DontMove = 1
Fires without sliding anywhere.
Toggle = 32
Stays in until pressed again, rather than returning after wait.
TouchActivates = 256
Presses when something touches it.
DamageActivates = 512
Presses when damaged. Nothing here deals damage.
UseActivates = 1024
Presses when a player looks at it and presses use.
StartsLocked = 2048
Starts locked, refusing to press until unlocked.
SparkIfOff = 4096
Sparks while out. Not simulated.
AnyActivation = 1792
Every flag that names a way to press the button.

