Too many ViewModel properties? Use nested VMs as control groups

I’ve always had an issue with ViewModels that grow into a long list of unrelated properties. Once a scene has position, rotation, face controls, limbs, masks, and motion controls, finding the right property becomes its own task.

What I wanted was a way to group those properties inside the VM attached to my artboard. A useful workaround is to create smaller VMs for related controls, then reference them from one parent VM.

I’m using this in a robot scene. The parent is SoloScene, and its properties include robot, body, head, leftArm, rightArm, face, mask, scene, and motion. Each points to a VM containing that group’s controls.

There are more VM definitions in the Data panel, but the structure I navigate now matches the thing I’m working on. The child VMs don’t each need their own artboard; the parent connects them to the scene.

Screenshot 1: SoloScene brings the separate control VMs together through named properties.


1. Decide what belongs together

Start with groups you already think in while authoring. In my scene, robot position, rotation, and scale belong together. Face expressions belong together. The mask’s size and position belong together.

In the Data panel, add a View Model for each group and add its properties. For example, SoloRobotControls contains positionX/Y/Z, rotationX/Y/Z, and scale. SoloFaceControls contains eyeOpen, smile, lookX, and lookY.

The names inside a group can stay short. I can use positionX in both the robot and mask groups because their parent paths distinguish them.

Screenshot 2: The robot’s transform controls live together in one child VM.


2. Add those groups to the parent VM

Create or choose the VM that will be attached to the artboard. In mine, that’s SoloScene.

Add a property with the View Model type, name it robot, and select SoloRobotControls as its VM type. Repeat for face, mask, and the other groups. These are nested VM references, not string labels or visual folders.

Then edit the parent’s instance and assign a child instance to each reference. In this example, those assignments are named Default.

A VM defines the properties; an instance holds their values. One instance per child VM is enough for basic grouping. You don’t need extra presets just to organize properties. Rive’s nested-instance documentation describes the underlying structure.

Screenshot 3: The parent’s Default instance references the child instances.


3. Attach the parent to the artboard

Select the artboard and assign SoloScene as its Model and Default as its Instance. That gives this scene one entry point for its data.

Screenshot 4: The artboard is connected to SoloScene.


4. Bind through the groups

When choosing a data source for a property, navigate through the parent and the relevant child. For example:

  • SoloScene → robot → positionX

  • SoloScene → face → eyeOpen

  • SoloScene → mask → width

  • SoloScene → motion → progress

Nested properties can be bound and updated like top-level properties. See View Model properties and Binding Data for the binding details.

5. Expand the groups with Preview Bindings

Turn on Preview Bindings in the Data panel. This is the part that makes the workaround feel like grouped controls: each nested VM node can be expanded to reveal its editable properties right there. Open robot for its transforms, body for its rotations, or face for its expressions, and keep the other groups collapsed. You can work through the parent’s data without continually selecting separate VM definitions.

Screenshot 5: Preview Bindings enabled, with robot, body, and leftAntenna expanded into editable properties. The remaining VM groups can be expanded individually.


If you’re reorganizing an existing file: do it one group at a time. Check the new instance assignment, retarget the affected bindings and any script/runtime lookups, then verify the result before removing the old properties. Grouping changes the data paths; it doesn’t automatically migrate every existing connection.

For a quick check, bind a simple object’s position to robot.positionX and change that value through the parent’s assigned instance. Confirm that the object moves and an unrelated group stays unchanged.

A couple of practical limits: these are real data references, so check which instance each property points to. And grouping alone doesn’t create keyframes, animation blending, or runtime overrides. Those remain separate parts of the rig.

I’d still welcome native property folders or sections inside a VM. But using nested VMs this way gives me a much clearer structure today: I can open the group I need instead of searching through one long list.


How are you organizing larger ViewModels? I’d be interested to see other approaches.