Random Object Selection Storyline

Jan 20, 2024

Is there a way to select a random object when clicking on a trigger? 

The set up: There is an icon that will select a random number between x and x when clicked on. 

What I'd like to happen: Once the learner clicks on the icon, I would like the randomized number variable to show the image attached with it and not just the random number. I've created number variables and grouped them in with the proper image but I can't seem to figure out how the trigger should be set up.

The basic trigger without the image is: set variable "1" to random number between 0 and 20 when the user clicks image "2." 

Is this possible to do? 

1 Reply