Skip to main content
23d ago

Nested inputs exposed to parent artboard not working

Hi Rive Team!

I wanted to ask for your help with the following issue:

I have an animation where I have exposed a number of inputs from the nested dartboard to parent aboard. When I am working in the parent state machine, I see all the nested dartboard inputs visible in the "inputs" tab, however, when I try to set any one of them as a condition for a transition, the list that opens in the dropdown doesn't have any nested inputs - only direct dartboard inputs...

What can I do to fix?

Thanks in advance!

Backup.zip
336 KB
1 reply
R
R
18d ago

Only inputs from the local level can be used as a condition for a transition. This becomes much easier with Data Binding since View Model properties are essentially a global set of inputs.

If you're using inputs, you'll have to bring those inputs up to the next level; meaning that you'll need to create a set of animations that control the child inputs, and then create an input at the parent level to drive that change.