whenGreenFlagClicked

Creates a 'when green flag clicked' hat block.

Parameters

block

The script to run when the green flag is clicked.