How do I get this script to cycle through objects randomly instead of going through them in order?


Hi everyone,

I'm working on a project in Lens Studio where I have a script that currently goes through a list of SceneObjects in a sequential order. However, I want to modify this script so that it selects and enables the SceneObjects randomly instead of following the sequence.

Can someone help me understand what I might be doing wrong or missing? Any guidance on how to correctly implement this random selection process would be greatly appreciated.

Thanks in advance for your help!