Discuss Scratch

The-Animation-Pro
Scratcher
100+ posts

New hat/startup/event Block

when (my variable) is set to []::events hat
when (color effect v) is greater than []::looks hat
when (my variable) is set to []::events hat
when (color effect v) is greater than []::looks hat
Could these be of any use?

Last edited by The-Animation-Pro (Nov. 19, 2025 13:33:52)

FreshTheCat
Scratcher
500+ posts

New hat/startup/event Block

The-Animation-Pro wrote:

when (my variable) is set to []::events hat
when (color effect v) is greater than []::looks hat
when (my variable) is set to []::events hat
when (color effect v) is greater than []::looks hat
Could these be of any use?
Why are you just making more hard-coded versions of the suggested ‘when’ block?
when ((my variable ::variables) = () :: operators boolean) ::events cat
when ((my variable ::variables) = () :: operators boolean) ::events cat
And the same could be done for the second one if we had a
(colour effect v) ::looks reporter
(colour effect v) ::looks reporter
reporter
CodeComet6161
Scratcher
1000+ posts

New hat/startup/event Block

Semi-support. This is useful for many things, but would leave no use for the following:
when green flag clicked
when [ v] key pressed
when this sprite clicked
when backdrop switches to [ v]
when [ v] > (10)
And replace them with:
@greenFlag clicked?::sensing boolean
<key [ v] pressed?>
sprite clicked?::sensing boolean
<(backdrop [number v]) = []>
<(loudness) > []>
<(timer) > []>
The-Animation-Pro
Scratcher
100+ posts

New hat/startup/event Block

CodeComet6161 wrote:

Semi-support. This is useful for many things, but would leave no use for the following:
when green flag clicked
when [ v] key pressed
when this sprite clicked
when backdrop switches to [ v]
when [ v] > (10)
And replace them with:
@greenFlag clicked?::sensing boolean
<key [ v] pressed?>
sprite clicked?::sensing boolean
<(backdrop [number v]) = []>
<(loudness) > []>
<(timer) > []>
Well, I kinda think there should just be an events expansion extension.
when <>::events expansion hat
@greenFlag clicked?::events boolean
is (timer v) greater than ()?::events boolean
message (message1 v) received?::events boolean
message (message1 v) sent?::events boolean

Last edited by The-Animation-Pro (Dec. 14, 2025 00:22:11)

The-Animation-Pro
Scratcher
100+ posts

New hat/startup/event Block

(color effect v) ::looks reporter
(color effect v) ::looks reporter

(sound name v) ::sound reporter
this would be good? Maybe?
(sound name v)::sound reporter

Last edited by The-Animation-Pro (Dec. 14, 2025 15:53:30)

Powered by DjangoBB