How do i make random rooms?

can you hep me make it so if I touch one of the doors in frame 2 go to a random room My Project3-25-2021_20-48-07.wick

You can put all the rooms names (or frame numbers) in an array
Extract a random number between 0 and the number of rooms -1
Read the room name in the array positioned at that number

thx here it is new update

well done
:+1: :+1: :+1: