How to Randomly Distribute Multiple Card Instances in a List?
Hi everyone,
I'm working on a card-based interaction and could use some guidance on how to better manage multiple instances of a card component in Rive. Here’s what I have and what I’m trying to achieve:
I’ve created a Card VM with several properties and made a few instances of it.
I want to add these card instances to a list, so that I can:
Randomly distribute the instances (e.g., shuffle them)
Dynamically increase or decrease the number of list items
So far, I’ve tried:
Using a list index property to increase the list items — but this just shows the same instance repeatedly.
Using a list property where I manually set the instance for each item, which works but isn’t dynamic or scalable.
My question:
Is there a way to dynamically assign different instances to list items, ideally in a randomized way, without having to manually assign each one?
this is the data bind setup:
Thanks in advance for any help or suggestions!