how do you make it so if you are on a frame then it goes to the other frame but you choose how many seconds you are gonna stay in the first frame
Like as in Frames Per Second/Framerate? You can change that in the settings in the top right corner.
no not that but now i figured something out
1 Like
You can also use project.framerate to change them through script
ok np thanks for the help
1 Like
I meant like staying on a frame but for the time you made it stay for
you can extend frames?
1 Like
yeah that’s what i remembered
you mean like stretching a frame longer if so yeah.
I found this function while scrolling through StackOverflow:
function wait(ms){
var start = new Date().getTime();
var end = start;
while(end < start + ms) {
end = new Date().getTime();
}
}
An example of using the function:
gotoAndStop(1);
wait(3000); //waits three seconds
gotoAndStop(2);
1 Like
wait you want to know how much seconds exactly like you wanted
this is what i meant but now I remembered you can stretch frames
yes that’s what i meant
well this web will help you
1 Like
ok thanks :)
you welcome =)