|When Flag Clicked|
The When Flag Clicked block is a Control Block and a Hat Block. Scripts that begin with this block will run once the project has started (projects begin once the flag has been clicked) - making it very important. The only way to script a project without this block is to use a When () Key Pressed block, but poses many difficulties.
Common UsesEditThere is only one use for this block; starting the scripts that should be going once the project starts.
It is possible to use this block to use the Green Flag as a simple button in a project, however this is not recommended.