Learn how to use constraints in Rive
Constraints are a way to control the properties of an object through another target object. Some constraints can set limits on these properties (and their hierarchical relationships), while others can copy properties from one object to another.
Examples of where to use constraints:
- Make a character's eyes follow a target.
- Ensure a character's feet stay planted on the floor while their legs automatically bend at the knees.
- Make all the wheels on a vehicle rotate together.
- Make the hands on a clock rotate.
- Copy translation, rotation, or scale from another object.
- Push an object away as one gets closer, or ensure an object always stays close to another one.
Types of constraints in Rive: