Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » "When flag clicked" not working
- RegitCookie
-
Scratcher
1 post
"When flag clicked" not working
Hi, I was just working on my project when I noticed that some of my codes weren't working. I was confused because they were working perfectly fine before and broke even though I didn't touch them.
I then realised that the “When flag clicked” block was not funcioning. When I click the flag, Codes under the flag clicked blocks would not light up like they should.
I tested this theory by giving a sprite some simple coding to make sure that it wasn't an error in my codes. It went like this:
My theory was right, it did not move. What might be the problem? Is it an issue with my computer or an issue with the website?
I then realised that the “When flag clicked” block was not funcioning. When I click the flag, Codes under the flag clicked blocks would not light up like they should.
I tested this theory by giving a sprite some simple coding to make sure that it wasn't an error in my codes. It went like this:
when green flag clicked
glide (1) secs to x: (100) y: (100)
My theory was right, it did not move. What might be the problem? Is it an issue with my computer or an issue with the website?
- lgrov44
-
Scratcher
500+ posts
"When flag clicked" not working
I feel like I experience this all the time. There are many factors to why this is happening. Have you checked that nothing could have made it seemingly be sensed to be different than what is supposed to happen (basically is there anything that can make it look otherwise, such as not being on the front layer, looks of the sprites, etc.), check if the application is not corrupted (if offline), etc? Also, have you tried creating a new project online and transferring all of the assets there? Many things to check in this case.
- cosmo250
-
Scratcher
500+ posts
"When flag clicked" not working
Do you think you could share the project with the code listed in #1?
If no one else experiences this problem it my be a problem with the website like a slow internet or lag/buffering.
If no one else experiences this problem it my be a problem with the website like a slow internet or lag/buffering.- 1234567890fgrvhyual
-
Scratcher
1 post
"When flag clicked" not working
ive had the same problem the game has easily over 100 scripts though.
Last edited by 1234567890fgrvhyual (May 2, 2024 07:56:52)
- checkpoint23
-
Scratcher
50 posts
"When flag clicked" not working
I have had this problem before, double clicking flag i'm assuming doesn't work, so I would reccomend replacing the green flag clicked blocks.
- Leaelhajjar
-
New Scratcher
1 post
"When flag clicked" not working
Hello I am working on a project, I worked on 20 sprite all of them work properly when I press green flag, but When I add more sprites with characters having speech or sound or motion with certain blocks, the last blocks I have entered will only work manually, but when I press green flag the last sprites will not work.
Please I need your help, because I'm working on a project.
Please I need your help, because I'm working on a project.
- JDubinsky
-
Scratcher
1 post
"When flag clicked" not working
Hi, I finished my game and was doing some tweaking to it. Now whenever I click the green flag, the script does not work.
Here is the link: Pls help me…
Here is the link: Pls help me…
when green flag clicked
Last edited by JDubinsky (June 21, 2025 13:11:11)
- cosmosaura
-
Scratch Team
1000+ posts
"When flag clicked" not working
Topic closed due to necroposting.
- Discussion Forums
- » Bugs and Glitches
-
» "When flag clicked" not working