Overview
Events blocks (yellow) are triggers - they define when a script starts running. Every script must begin with an Events block at the top; otherwise the code never activates. Events blocks have a rounded 'hat' shape so they can only go at the top of a stack.