Discuss Scratch

chessornot123
Scratcher
17 posts

How do I make a animation loop but not make it stop my code is this

define 
if <<[(costume number)]< [10]>> then
next costume
end

Last edited by chessornot123 (Sept. 25, 2025 21:54:26)

Buggysniffy
Scratcher
11 posts

How do I make a animation loop but not make it stop my code is this

when green flag clicked
forever
switch costume to [costume1 v]
repeat (9)
next costume
end
end


when green flag clicked
forever
switch costume to [costume1 v]
if <(costume [number v]) < [10]> then
next costume
end
end

Either of those should work.

Last edited by Buggysniffy (Sept. 26, 2025 00:45:11)

BappleVR11
Scratcher
1 post

How do I make a animation loop but not make it stop my code is this

Just use this


when green flag clicked
forever
switch costume to [costume1 v]
repeat (15)
next costume

end
end

Powered by DjangoBB