Skip to main content
B
16d ago

How to remove a layout item in a timeline

I want to remove a layout item from the list similar to shown here:

However, it is not shown anywhere exactly how to do this.

I have also read that it has something do do with constraints, but again, no elaboration is made. If I add a constraint to the layout, the items do not reflow.

2 replies
B
R
R
16d ago

So the way this works is that the objects you want to remove or add to a layout don't exist within the layout. Instead, the objects constraint targets are in the layout. Then, using the strength property, you can "add or remove" objects. I've put together a file here to show you how that works.

layout_constraints.rev
4 KB
B
16d ago

Thanks for clearing that up and providing the rev file. I must say that using advanced features in Rive is getting increasingly abstract, something I would be cautious about as a developer.