Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » if else only uses the else.
- zboi123456
-
Scratcher
16 posts
if else only uses the else.
I'm using an if else in a clone and whenever the criteria is met it still uses the else section. Also this is the only if else in it and all it is doing is switching a variable off if the criteria isnt met and switching it on when it is met.
- jmb1293634
-
Scratcher
1000+ posts
if else only uses the else.
can you link the project please it might help us fix it
- zboi123456
-
Scratcher
16 posts
if else only uses the else.
can you link the project please it might help us fix it
https://scratch.mit.edu/projects/1146059718/editor
- jmb1293634
-
Scratcher
1000+ posts
if else only uses the else.
we can't view unshared projectscan you link the project please it might help us fix it
https://scratch.mit.edu/projects/1146059718/editor
- zboi123456
-
Scratcher
16 posts
if else only uses the else.
we can't view unshared projectscan you link the project please it might help us fix it
https://scratch.mit.edu/projects/1146059718/editor
its shared now also don't mind if its janky and it has a weird name you only need to pay attention to the player and level board slot btw
- jmb1293634
-
Scratcher
1000+ posts
if else only uses the else.
okay all if else blocks checked and tested if its this script your on about:we can't view unshared projectscan you link the project please it might help us fix it
https://scratch.mit.edu/projects/1146059718/editor
its shared now also don't mind if its janky and it has a weird name you only need to pay attention to the player and level board slot btw
when I start as a clonethen it wont do anything
forever
if <...::grey> then
set [down v] to [1]
else
+set [down v] to [1]
wait (0) secs//what is the point of this?
end
end
- cream_felonious
-
New Scratcher
5 posts
if else only uses the else.
:I
idk why these replies like this
when green flag clicked
if <not <>> then
do nothing
else
do something
end
idk why these replies like this
Last edited by cream_felonious (March 23, 2025 12:45:29)
- Discussion Forums
- » Help with Scripts
-
» if else only uses the else.

