|When () Brick Seen|
when [ v] brick seen::extension hat
The When () Brick Seen block is a Hat Block in the LEGO Boost Extension. The script that this is attached to will activate when the LEGO Boost sees the specified colored block. The options are "red", "blue", "green", "yellow", "white", "black", and "any color".