✅ Solved: Hiding elements within a layout

Hello! I want to be able to have a layout resize its width if I hide an element within it. It seems like in rive, if you hide an element, it treats it as if it is at 0% opacity rather than as if it were “deleted.”

In my demo, you can see when I hide the nested element, it doesn’t resize at all. It treats it like it’s still there, but just at 0% opacity.

But when I literally delete it, it does resize, which is the effect I want to happen, but obviously I dont want to delete it and I dont think I can keyframe deleting something in a timeline.

What is the best way to approach this?

Screen Recording 2025-06-12 at 3.56.13 pm.mov