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

