This property allows you to easily reverse the animation of an event so each time you use a mouse or key event itβs going to switch from one state to another. This is useful to create interactions like toggle buttons.Documentation Index
Fetch the complete documentation index at: https://docs.spline.design/llms.txt
Use this file to discover all available pages before exploring further.
How to use the Toggle property in Mouse and Key events:
- Select the object and add new states to it using the States panel. You can change the position or how it looks accordingly.
- On the Events panels, add one of the following events that support toggle mode for the transition action: Mouse Down, Mouse Up, Key Down, Key Up, Collision, or Trigger Area.
- Add a transition action to the Mouse Down event, and change the target object if needed.
- Change the mode to βToggleβ - This will enable you to do the reverse when the object is clicked.
- Add the transition steps to the action that you want to toggle between.
- Thatβs it - Enter Play Mode to test.
Test it! Press the switch above π
Click the link to learn how to create this 3D Switch design: Watch YouTube Tutorial

