Discuss Scratch
- Discussion Forums
- » Suggestions
- » New Sensing Blocks
- bittensboy
-
Scratcher
100+ posts
New Sensing Blocks
Sensing Blocks Related to events for green flags.
Yes i know there's:
Yes i know there's:
when flag clickedBut There's Frame Pauses Like Every 3 frames. How To Fix? NEW BOOLEAN BLOCKS!!!!!!!!!!
is @greenFlag hit?::sensing booleanThese could be used for removing pauses so like this script:
is @greenFlag held down?::sensing boolean
when [any v] key pressed
forever
if <is @greenFlag held down?::sensing> then
. . .
end
end
- MinceraftFan
-
Scratcher
100+ posts
New Sensing Blocks
just make your own green flag like when this button pressed broadcast green flag, also there are no frame pauses so idk what that means
- bittensboy
-
Scratcher
100+ posts
New Sensing Blocks
just make your own green flag like when this button pressed broadcast green flag, also there are no frame pauses so idk what that means
when (you don't get it v) key pressed
forever{
say [theres no freme pausz wdym]
}::control
Last edited by bittensboy (Aug. 18, 2023 23:38:11)
- MinceraftFan
-
Scratcher
100+ posts
New Sensing Blocks
what does the code even dojust make your own green flag like when this button pressed broadcast green flag, also there are no frame pauses so idk what that meanswhen [you don't get it v] pressed in order::makeymakey hat

so every time you hold the green flag it runs code, but you have to press a random key first, also scratch can't detect you holding the green flag only pressing it
- bittensboy
-
Scratcher
100+ posts
New Sensing Blocks
And?but you have to press a random key first, also scratch can't detect you holding the green flag only pressing itjust make your own green flag like when this button pressed broadcast green flag, also there are no frame pauses so idk what that meanswhen [you don't get it v] pressed in order::makeymakey hat
Last edited by bittensboy (Aug. 18, 2023 23:40:18)
- sowut123
-
Scratcher
1000+ posts
New Sensing Blocks
Sensing Blocks Related to events for green flags.Does holding down the green flag actually do anything outside of these booleans though? Seems kinda pointless.
Yes i know there's:when flag clickedBut There's Frame Pauses Like Every 3 frames. How To Fix? NEW BOOLEAN BLOCKS!!!!!!!!!!is @greenFlag hit?::sensing booleanThese could be used for removing pauses so like this script:
is @greenFlag held down?::sensing booleanwhen [any v] key pressed
forever
if <is @greenFlag held down?::sensing> then
. . .
end
end
Last edited by sowut123 (Aug. 19, 2023 00:27:29)
- bittensboy
-
Scratcher
100+ posts
New Sensing Blocks
it's not pointless, you could do something like something differnt happens between click flag, and hold flag.
- MinceraftFan
-
Scratcher
100+ posts
New Sensing Blocks
it's not pointless, you could do something like something differnt happens between click flag, and hold flag.You can already do that, you don't need a sensing block, also the green flag is just there to trigger an event, it's not used for any other purpose
- bittensboy
-
Scratcher
100+ posts
New Sensing Blocks
just make your own green flag like when this button pressed broadcast green flag, also there are no frame pauses so idk what that meansit would be easier for new scratchers rather than something like
when flag clicked
broadcast [FLAG v]
when i recieve [FLAG v]::events hat
start
define start
run @greenFlag::control
ignore [FLAG v] after last script::events
- MinceraftFan
-
Scratcher
100+ posts
New Sensing Blocks
I have no clue what you're trying to say. Scratch's green flag works perfectly and it doesn't need any changing or additional blocks to go with it.just make your own green flag like when this button pressed broadcast green flag, also there are no frame pauses so idk what that meansit would be easier for new scratchers rather than something likewhen flag clicked
broadcast [FLAG v]
when i recieve [FLAG v]::events hat
start
define start
run @greenFlag::control
ignore [FLAG v] after last script::events
Also, I still have no clue what you're suggesting since you seem to keep making up different blocks as you go, so if you want to show a better example for what you need this new feature for you can link a project that you want to use this feature on.
Last edited by MinceraftFan (Aug. 19, 2023 21:37:12)
- bittensboy
-
Scratcher
100+ posts
New Sensing Blocks
I'm not Making Up Blocks, You Just Haven't Used PenguinMod.
- bittensboy
-
Scratcher
100+ posts
New Sensing Blocks
always::events hat
never::events hat
say [#45f]
while <>{
}::control
stop speaking::looks
run @greenFlag::control
recieved data::reporter events
when i recieve [message1 v] with data [abc]::hat events
::
::boolean
::reporter
::hat
set [label v] of block ((::control)@addInput::grey) to []::control
- MinceraftFan
-
Scratcher
100+ posts
New Sensing Blocks
well then that's not scratch, that's penguinmod.always::events hat
never::events hat
say [#45f]
while <>{
}::control
stop speaking::looks
run @greenFlag::control
recieved data::reporter events
when i recieve [message1 v] with data [abc]::hat events
::
::boolean
::reporter
::hat
set [label v] of block ((::control)@addInput::grey) to []::control
Last edited by MinceraftFan (Aug. 20, 2023 16:39:50)
- bittensboy
-
Scratcher
100+ posts
New Sensing Blocks
idcwell then that's not scratch, that's penguinmod.always::events hat
never::events hat
say [#45f]
while <>{
}::control
stop speaking::looks
run @greenFlag::control
recieved data::reporter events
when i recieve [message1 v] with data [abc]::hat events
::
::boolean
::reporter
::hat
set [label v] of block ((::control)@addInput::grey) to []::control
im not suggesting those blocks, anyways this is going offtopic.
Let's Focus On The Main Idea:
green falg pressed?
green flag held for seconds?
- BloatedUnderpants3
-
Scratcher
100+ posts
New Sensing Blocks
When you press the green flag, it also stops the scripts currently running before triggering the green flag clicked event, so there is no use for your new blocks, as any code containing them would be stopped before the new blocks are triggered.
- BendyOl183
-
Scratcher
500+ posts
New Sensing Blocks
just make your own green flag like when this button pressed broadcast green flag, also there are no frame pauses so idk what that meansit would be easier for new scratchers rather than something likewhen flag clicked
broadcast [FLAG v]
when i recieve [FLAG v]::events hat
start
define start
run @greenFlag::control
ignore [FLAG v] after last script::events
It isn’t that complicated, we don’t need to make Scratch extremely easy, that is only like 7 blocks. A new scratcher can cope with having to add 7 blocks.
Also, the green flag clicked block just triggers an event when the green flag is clicked, and if the green flag is clicked it resets the project so this would be useless. If you want something to change after you click the flag a lot of times, then you can put :
when green flag clicked
change [… v] by (1)
when green flag clicked
forever
if <(… :: variables) = (…) :: operators> then
… :: grey
end
end
- bittensboy
-
Scratcher
100+ posts
New Sensing Blocks
When you press the green flag, it also stops the scripts currently running before triggering the green flag clicked event, so there is no use for your new blocks, as any code containing them would be stopped before the new blocks are triggered.i do not c@re
just make your own green flag like when this button pressed broadcast green flag, also there are no frame pauses so idk what that meansit would be easier for new scratchers rather than something likewhen flag clicked
broadcast [FLAG v]
when i recieve [FLAG v]::events hat
start
define start
run @greenFlag::control
ignore [FLAG v] after last script::events
It isn’t that complicated, we don’t need to make Scratch extremely easy, that is only like 7 blocks. A new scratcher can cope with having to add 7 blocks.
Also, the green flag clicked block just triggers an event when the green flag is clicked, and if the green flag is clicked it resets the project so this would be useless. If you want something to change after you click the flag a lot of times, then you can put :
when green flag clickedI Still do not c@re
change [… v] by (1)
when green flag clicked
forever
if <(… :: variables) = (…) :: operators> then
… :: grey
end
end
Last edited by bittensboy (Aug. 20, 2023 20:48:21)
- BloatedUnderpants3
-
Scratcher
100+ posts
New Sensing Blocks
i do not c@reignorance will not change the truth
- Discussion Forums
- » Suggestions
-
» New Sensing Blocks




