Random frame

how di i make it so that it can go to a random frame

maybe this.randomize = frames

im not very good at coding

You can use the following code:

gotoAndStop(random.integer(1,3));

Change the “3” with the last frame number, and “1” with the first frame number that you want the random frame to be between.

2 Likes

that actually works