Discuss Scratch
- gdfsgdfsgdfg
-
Scratcher
1000+ posts
When <> is not true block
when <> is not true :: events :: hat
Its not
when <> is true :: events :: hat
I bet it has a easy workaround
Last edited by gdfsgdfsgdfg (Nov. 18, 2022 15:49:16)
- Knightbot63
-
Scratcher
1000+ posts
When <> is not true block
when green flag clickedworkaround
forever
if <[whatever] = [true]> then
...
end
end
Last edited by Knightbot63 (Nov. 18, 2022 15:44:59)
- randomguy3513
-
Scratcher
1000+ posts
When <> is not true block
<not <>>Easy workaround if when the “if <> is true” gets implemented
- gdfsgdfsgdfg
-
Scratcher
1000+ posts
When <> is not true block
some scratch blocks also have easy workarounds
for example:
workaround:
for example:
next costume
workaround:
switch costume to (join [] [next costume])
Last edited by gdfsgdfsgdfg (Nov. 18, 2022 15:54:43)
- randomguy3513
-
Scratcher
1000+ posts
When <> is not true block
that doesn't work…next costume
workaround:switch costume to [next costume v]
- gdfsgdfsgdfg
-
Scratcher
1000+ posts
When <> is not true block
next backdrop
workaround:
switch backdrop to [next backdrop v]
- randomguy3513
-
Scratcher
1000+ posts
When <> is not true block
at this point your block spamming a little bit, please stop.next backdrop
workaround:switch backdrop to [next backdrop v]
- -Valtren-
-
Scratcher
1000+ posts
When <> is not true block
still, not functions are really simple. there's no need to add it
- NotDucki_
-
Scratcher
1000+ posts
When <> is not true block
I'm not very certain in the use of this being a script starter. I can see it being used in the middle of a script for something.
I haven't used scratchblocks in years, apologies if this is a bit messy.
I haven't used scratchblocks in years, apologies if this is a bit messy.
when I receive [event v]//This example is just assuming you are activating it with an event.Now, you could use
when [necessity v] is not true {
say [use a workaround!]} :: control
<not <(foo) = (moo)>>//foo would be the value you are trying to determine is true or false, and moo is the value that foo has to match up to in order to be true.For example:
if <not <(foo) = (moo)>> thenI would like to note that I have not touched Scratch in months, but I am fairly certain that the given workaround should work
say [hello world!]
end
- cookieclickerer33
-
Scratcher
1000+ posts
When <> is not true block
Maybe this?when <> is not true :: events :: hat
Its notwhen <> is true :: events :: hat
I bet it has a easy workaround
when <mouse down?> is [true v] ::events hatAnd
when <mouse down?> is [false v] ::events hat
- -Valtren-
-
Scratcher
1000+ posts
When <> is not true block
why exactly is it so hard to use the workaround?
another one btw, this one works more like hat blocks.
While I would agree that
another one btw, this one works more like hat blocks.
when green flag clickedmany blocks have simple workarounds, yet they're still here. but the thing is, they're needed, either because they help learn to code(the point of scratch) or because the simple workaround isn't so simple for someone just starting out.
forever
wait until <not <condition :: sensing>>
do something
wait until <condition :: sensing>
end
While I would agree that
when <> is true :: hat :: eventsis a good and needed block, a version of this for false booleans isn't in my opinion.
Last edited by -Valtren- (Nov. 29, 2022 15:10:18)
- An0therRand0mC0der
-
Scratcher
1000+ posts
When <> is not true block
Yes, you told us that some blocks have an easy workaround. However, why can't you just do this?
What's so hard about chucking 2 blocks together?
Please elaborate more and I will decide my full opinion on this suggestion.
What's so hard about chucking 2 blocks together?
Please elaborate more and I will decide my full opinion on this suggestion.
if <not <...>> then
...
end
- -Valtren-
-
Scratcher
1000+ posts
When <> is not true block
Also this is a duplicateit isn't. this one is for when the boolean is false. that one is for when the boolean is true
- An0therRand0mC0der
-
Scratcher
1000+ posts
When <> is not true block
(#16)Mentioned hereAlso this is a duplicateit isn't. this one is for when the boolean is false. that one is for when the boolean is true
- -ErrorPurpl_157
-
Scratcher
100+ posts
When <> is not true block
when I receive [… v]
forever
if <not <condition :: grey>> then
…
end
end
- -Valtren-
-
Scratcher
1000+ posts
When <> is not true block
but it's not specifically what the OP is suggesting.(#16)Mentioned hereAlso this is a duplicateit isn't. this one is for when the boolean is false. that one is for when the boolean is true
- cookieclickerer33
-
Scratcher
1000+ posts
When <> is not true block
when [ timer v] > ((timer) - <not <custom condition ::custom>>)







