Discuss Scratch

Mimmie1
Scratcher
66 posts

How to make a Capped variable

Just use the following code

when this sprite clicked
if <(Variable) < (Cap Amount)> then
change [Variable v] by (1)
else
put what you want it to say when it is capped here

Last edited by Mimmie1 (Feb. 20, 2025 09:23:53)

Paddle2See
Scratch Team
1000+ posts

How to make a Capped variable

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