Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » If statement not working... or did I do something wrong?
- Bao_TV
-
Scratcher
5 posts
If statement not working... or did I do something wrong?


it's supposed to check if the user's answer = see, then, shows the user's previous notes that they took, but it doesn't work! It only activates if I manually click it in scratch editor… did I do something wrong?
“I uploaded 2 pictures because idk if the first one worked”
Last edited by Bao_TV (July 11, 2023 21:45:21)
- esmars26
-
Scratcher
100+ posts
If statement not working... or did I do something wrong?
Is it just that if statement that doesn't work, or do others not work?
- Bao_TV
-
Scratcher
5 posts
If statement not working... or did I do something wrong?
It's specifically that thing not working, the entire other things work perfectly fine.
- NeonG4
-
Scratcher
1000+ posts
If statement not working... or did I do something wrong?
It's specifically that thing not working, the entire other things work perfectly fine.Well, some things on the answer variable:
it only works when the
ask [What's your name?] and waitblock is used.
Your screenshot doesn't appear to have that block.
- Bao_TV
-
Scratcher
5 posts
If statement not working... or did I do something wrong?
sorry I didn't share a screenshot about that, I actually have that block on some kind or forever loop so yeah
- NeonG4
-
Scratcher
1000+ posts
If statement not working... or did I do something wrong?
sorry I didn't share a screenshot about that, I actually have that block on some kind or forever loop so yeahIn some kind of forever loop?
Can you please share your project?
- Discussion Forums
- » Help with Scripts
-
» If statement not working... or did I do something wrong?


