Discuss Scratch

TheStrangeStuff43
Scratcher
5 posts

Scratchblocks

hmmm
when @greenFlag waved :: #a3d67c hat
if <(timer)=((days since 2000)*(86400))> then
increment counter by [10] :: control
else
decrement counter by [10] :: control
end
clear counter :: control
while <mobile? :: sensing>{
if <(plugged in? :: sensing) = [1]> then
connect to wi-fi [ytBois22] :: #cf4ac3
else
disconnect from wi-fi servers :: #cf4ac3
} :: control

Last edited by TheStrangeStuff43 (Nov. 26, 2025 23:24:50)

TheStrangeStuff43
Scratcher
5 posts

Scratchblocks

Yet another
when @stopSign clicked :: events hat
start sound (Meow v) only if <(wi-fi server :: sensing)=[ytBois22]> :: sound
all at once {
while <sound (Meow v) is playing? :: sound> {
if <(username)=[TheStrangeStuff43]> then
pause music :: sound
else
unpause music :: sound
} :: control
} :: control
stop [all v] :: control
TheStrangeStuff43
Scratcher
5 posts

Scratchblocks

Last one
while music paused :: sound hat
set time zone [Miami],[Florida] :: #c14c7f
wait until <not <music paused? :: sound>>
set time zone to [detected time zone v] :: #c14c7f
stop [this script v]
TheStrangeStuff43
Scratcher
5 posts

Scratchblocks

With this forum, you can show people new scratch palettes, blocks, or code lines! But keep it stuff related to that. You can find the website here:
https://scratchblocks.github.io/#?style=scratch3

Last edited by TheStrangeStuff43 (Nov. 26, 2025 23:30:02)

TheStrangeStuff43
Scratcher
5 posts

Scratchblocks

New palette: unused blocks!

when @greenFlag waved :: #a3d67c hat

when @stopSign held :: #a3d67c hat

shake screen :: #a3d67c

<screen shaken? :: #a3d67c>

forever if <> {
} :: #a3d67c cap

warp {
} :: #a3d67c

when <> is true :: #a3d67c hat

all at once {
} :: #a3d67c

set stretch to x: [0] y: [0] :: #a3d67c

change stretch by x: [10] y: [10] :: #a3d67c

(stretch x :: #a3d67c)

(stretch y :: #a3d67c)

while <> {
} :: #a3d67c
cosmosaura
Scratch Team
1000+ posts

Scratchblocks

Please use the official testing thread if you want to experiment with Scratch blocks: https://scratch.mit.edu/discuss/topic/741323/

Powered by DjangoBB