Lego Boost

turn motor [ABCD] for (2) seconds
turn motor [D] for (1) rotations
turn motor [A] on
turn motor [C] off
set motor [B] speed to (1)
set motor [D] direction [this way]
boost!motor [A] position
when [green] brick seen
seeing [red] brick?
boost!when tilted [any]
tilt angle [left]
boost!set light color to (C:80, S:10, B:10)