Click or drag to resize
PistonStatus Enumeration

[This is preliminary documentation and is subject to change.]

Describes the current status of the piston.

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax
C#
public enum PistonStatus
Members
  Member nameValueDescription
Stopped0 The piston velocity is 0 (stationary).
Extending1 The piston is being extended (moving).
Extended2 The piston is in its extended position (stationary).
Retracting3 The piston is being retracted (moving).
Retracted4 The piston is in its retracted position (stationary).
See Also