EntRotatableToggle

Rotatable Toggle
Sets a toggle on/off based on a rotatable part's angle

ID: EntRotatableToggle
Requires Components: Rotatable Part One Axis
Base Type: Entity Component

Values

Name

Type

Description

Is Toggled On

Bool Variable

On Angle

Number Variable

degrees

Off Angle

Number Variable

degrees

Move On Toggled

Bool Variable

Changes angle on switching toggle

On Toggled Sound

Audioclip Variable

Events

Name

Description

On Toggled On()

On Toggled Off()