When you want to start adding animation and interactions to your scene, it's time to understand States and Events.
State-Based animation works by adding, well, you guessed it, multiple states to your objects.
Then, you can trigger animations from one state to another by using Events.
How to create an object state
- Select the object.
- Go to the States panel on the right sidebar and click the
- You'll see two new states. The
Base State(the state your object was already in) and another one called
Statewill be automatically selected, meaning you're ready to start applying changes to your object, like changing the scale, position, rotation, color, etc.
- Once you made changes to
State, you can switch between
Stateon the States panel to see the differences.
👉 Next Steps
Ok, you now have a new state, but when you enter Play Mode ("Play" icon), nothing happens. That's when Events come into play.