Discuss Scratch

kayvonkamyar
Scratcher
11 posts

Click flag block

Add the click flag block. it clicks the flag. Later, I found an alternate. It is called bingo. I don’t wanna switch because it lacks a community and an online version.
ResExsention
New to Scratch
1000+ posts

Click flag block

No scripts run until the flag is clicked, so how can this script be run? The program has to actually be running.

N E G A T I V E S U P P O R T.

Sorry about that.

Infrequently active.

It feels weird to see how far we've come. I hope you're well, wherever you are!
Dragonlord767
Scratcher
1000+ posts

Click flag block

ResExsention wrote:

No scripts run until the flag is clicked, so how can this script be run? The program has to actually be running.

N E G A T I V E S U P P O R T.

Sorry about that.
NO SUPPORT
For the same reasons as @ResExtention. No script can run before the flag is clicked.

no signature plz
ResExsention
New to Scratch
1000+ posts

Click flag block

Dragonlord767 wrote:

ResExsention wrote:

No scripts run until the flag is clicked, so how can this script be run? The program has to actually be running.

N E G A T I V E S U P P O R T.

Sorry about that.
NO SUPPORT
For the same reasons as @ResExtention. No script can run before the flag is clicked.

I'm not Extention… Exsention. Lol. Idk why sometimes my own username is misspelled.

Infrequently active.

It feels weird to see how far we've come. I hope you're well, wherever you are!
Mr_PenguinAlex
Scratcher
1000+ posts

Click flag block

ResExsention wrote:

Dragonlord767 wrote:

ResExsention wrote:

No scripts run until the flag is clicked, so how can this script be run? The program has to actually be running.

N E G A T I V E S U P P O R T.

Sorry about that.
NO SUPPORT
For the same reasons as @ResExtention. No script can run before the flag is clicked.

I'm not Extention… Exsention. Lol. Idk why sometimes my own username is misspelled.
oh my gosh this whole time i thought your username was pronounced extension

ResExsention
New to Scratch
1000+ posts

Click flag block

Mr_PenguinAlex wrote:

ResExsention wrote:

Dragonlord767 wrote:

ResExsention wrote:

No scripts run until the flag is clicked, so how can this script be run? The program has to actually be running.

N E G A T I V E S U P P O R T.

Sorry about that.
NO SUPPORT
For the same reasons as @ResExtention. No script can run before the flag is clicked.

I'm not Extention… Exsention. Lol. Idk why sometimes my own username is misspelled.
oh my gosh this whole time i thought your username was pronounced extension

You're not the only one to assume that. It's Ex-Sen-tion

There is not a T between the first and second syllables.

Infrequently active.

It feels weird to see how far we've come. I hope you're well, wherever you are!
findanegg
Scratcher
500+ posts

Click flag block

OP probably wants a block to refresh scripts for whatever reason.

No support. If you need this your project probably has bad or faulty coding.

it me. the bisexual indie softboi. no pronouns (do not refer to me). currents is a bad album
coder2045
Scratcher
1000+ posts

Click flag block

Well, no scripts can run before the flag is clicked unless you have a
when [timer v] > (-1)
block. If you want to reset the project, workaround:
when green flag clicked
broadcast [click_flag v]
when I receive [click_flag v]
...
broadcast [click_flag v]

Highlight this text and press Ctrl-Shift-Down to view more of my signature. There's a lot in there.
I FOUND THE POSTIE POSTIE POST LINK THIS
Brainteaser: What comes next? Answer on my profile. First correct answer gets a follow.

[ ]
[ [ ] ]
[ [ [ ] ] [ ] ]
Good projects ⬇️




Botcho_Otkho
Scratcher
1000+ posts

Click flag block

findanegg wrote:

OP probably wants a block to refresh scripts for whatever reason.

No support. If you need this your project probably has bad or faulty coding.
Yes, I think it's like that. Of course, no script run before the green flag is clicked, but what about this is in the middle of the code?
when green flag clicked
...
restart::events cap//I think it's simpler if it was "restart" instead of "click green flag".
It would work fine.

Last edited by Botcho_Otkho (June 14, 2019 10:12:55)


I see now that the circumstances of one's birth are irrelevant. It is what you do with the gift of life that determines who you are. - Mewtwo
kayvonkamyar
Scratcher
11 posts

Click flag block

when green flag clicked

restart::events cap
Dragonlord767
Scratcher
1000+ posts

Click flag block

Botcho_Otkho wrote:

findanegg wrote:

OP probably wants a block to refresh scripts for whatever reason.

No support. If you need this your project probably has bad or faulty coding.
Yes, I think it's like that. Of course, no script run before the green flag is clicked, but what about this is in the middle of the code?
when green flag clicked
...
restart::events cap//I think it's simpler if it was "restart" instead of "click green flag".
It would work fine.
And there is the use of a loop block.

no signature plz
ResExsention
New to Scratch
1000+ posts

Click flag block

Dragonlord767 wrote:

Botcho_Otkho wrote:

findanegg wrote:

OP probably wants a block to refresh scripts for whatever reason.

No support. If you need this your project probably has bad or faulty coding.
Yes, I think it's like that. Of course, no script run before the green flag is clicked, but what about this is in the middle of the code?
when green flag clicked
...
restart::events cap//I think it's simpler if it was "restart" instead of "click green flag".
It would work fine.
And there is the use of a loop block.

The issue with that is that such a thing will only work with a single script.

Still no support. Use broadcasts.

Infrequently active.

It feels weird to see how far we've come. I hope you're well, wherever you are!
WindOctahedron
Scratcher
1000+ posts

Click flag block

coder2045 wrote:

If you want to reset the project, workaround:
when green flag clicked
broadcast [click_flag v]
when I receive [click_flag v]
...
broadcast [click_flag v]
You're right. Also, when you click the green flag, the timer resets, so:
when I receive [click_flag v]
reset timer
...
broadcast [click_flag v]

The message above may contain wrong information, rude remarks, or something embarrassing to my current self. In this case, please ignore it and remember that I likely wrote it back when I didn't know what “respect” truly meant. I really hate thinking about it again.
Troyer_Kem
Scratcher
1000+ posts

Click flag block

No Support. Other posts explain why.

If you're seeing this account, I'm Morimop and the reason that I use this account is:

**I'm too lazy to switch accounts**
**I forget my password**
**I got a forum message while drawing something**
kayvonkamyar
Scratcher
11 posts

Click flag block

Oof! I could just broadcast scratch-startclicked.
Done.
dhuls
Scratcher
1000+ posts

Click flag block

kayvonkamyar wrote:

Oof! I could just broadcast scratch-startclicked.
Done.
Only works in 1.4 offline

Powered by DjangoBB