ToggleAnimation
A clickable toggle that plays an animation — doors, hatches, vents, etc.
- Kind:
ToggleAnimation - Availability: Any
Fields
Section titled “Fields”Animation clip to play.
key
string State key for persistence.
messageFalse
string = Click to Open Tooltip when closed.
messageTrue
string = Click to Close Tooltip when open.
speed
float = 1 Playback speed multiplier.
Clickable collider transform.
title
string UI title.
Example
Section titled “Example”{ "kind": "ToggleAnimation", "animation": { "clipName": "Left Door" }, "speed": 2.0, "key": "door.l", "targetColliderObject": { "path": ["boxcar01", "Left Doors", "Bone 1"] }, "title": "Door", "messageTrue": "Click to Close", "messageFalse": "Click to Open", "name": "Left Door", "transform": { "position": [0.0, 0.0, 0.0], "rotation": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0] }}© 2026 Giraffe Lab LLC. All rights reserved.