Discuss Scratch

BestHiderXD
Scratcher
22 posts

How To Make If Stop Button Pressed This Will Appear

I Seen In Many Projects When U press the “Stop Button” A Slide Pops Up!!! To Do That Follow The Instuctions Given

First Go To Variables And make a variable called “timer” and for all sprites!!! Then Make a picture that will appear when u clickstop button (put any picture u like) then put this code to that sprite!!

when green flag clicked
reset timer
forever
set [timer v] to ((timer) + (0.01))

after adding that code add this long script!!
when [timer v] > (timer)
go to [front v] layer
show
set [ghost v] effect to (100)
repeat (5)
go to [front v] layer
change [ghost v] effect by (-20)
set y to ((y position) / (4))
end

forever
go to [front v] layer
set y to (([cos ] of ((timer) * (200))::operators) * (2))
end

now u have that fancy code when u click stop!!!

it should look like this

Last edited by BestHiderXD (March 10, 2025 13:19:50)

MudkipKappa
Scratcher
500+ posts

How To Make If Stop Button Pressed This Will Appear

Future Paddle2See wrote:

It's really nice that you want to help out with a guide! However, we have a number of them in the forums already and we don't have a good way to showcase any more. If you want to make a guide in a Scratch project, that would be fine. You could advertise it in the “Show and Tell” section too.

There are lots of other ways to help out in the forums too. Helpful Scratchers are always welcome in the “Questions About Scratch”, “Help With Scripts”, “Requests” and other sections. Just look around and ask questions
Paddle2See
Scratch Team
1000+ posts

How To Make If Stop Button Pressed This Will Appear

Hello! It's great that you want to help out other Scratchers. However, I think we have enough guides in the forums at the moment. Please feel free to welcome new Scratchers on the group welcoming topic or on individual topics created by New Scratchers.

Other places that can always use more helpful Scratchers like you, are the "Help With Scripts“ and ”Questions About Scratch" areas - please use them as designed, by responding to topics created by folks with problems to solve

Finally, a really good place for Scratch guides is the Scratch Wiki - check it out and see if it's something you might like to work on. They have a number of guides - and great organization.

Powered by DjangoBB