Can you make a Gotoplay on random choices function?

Been a while huh…

Ive tried gotoAndPlay(random.choice(‘1’, ‘2’, ‘3’, ‘4’, ‘5’)); but it doesnt work. Are there any solutions??

Umm I think their are solutions
Give me a couple minutes to write some code

I think you’re supposed to do

gotoAndPlay(random.choice([1, 2, 3, 4, 5]));

since random.choice only accepts an array.

3 Likes

or you can do that :frowning: