Index of a random item obtained with the "pick a random item list" block?

Hello!
How can I know an index of a random item obtained with the “pick a random item list” block?

I need to know the number of that index chosen with this block tool. To use to select the same index of another list.

For example:
The first list “name o the fruit”.
The second list “the color of the fruit”.
I would like to pick a random fruit and select the related color from another list.

instead of test variable you can use any label or text box…

1 Like

Thank You so Much!
It was enough for me.
It works really great here.
Thank You!

1 Like

use the random integer block instead
see an example here How to pick a random item from a list without picking duplicates?

Taifun

1 Like

Thank You!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.