✅ Solved: Runtime Playback & Nested Buttons
I have 5 buttons each on their own artboard with animations for enter, exit, click.
These are nested in the main artboard and then I added transparent hit layers ontop of them. I want to make 4 of the 5 buttons when clicked initiate a runtime playback option. Play, Pause, JumpTo, Restart, with the 5th button revealing a layer inside the main animation (this one works perfectly fine). After realizing that WebGL renderer does not support shape hit testing or .on('click') with event.hit. I opted for the canvas renderer. But still having issues getting it to function. Listeners are assigned to transparent hit layers when ‘Pointer Down’ and dummy triggers were created inside Rive but I want Runtime to control these. I’ve attached my JS in hopes that someone can notice why it isn’t functioning properly and the buttons won’t function. Except for ValveHit, that works as expected. Appreciate any feedback.