Add an “or” function and take a look at Lego boost programming “language” - Ideas & Suggestions - Homey Community Forum
Amazon.com: LEGO Boost Creative Toolbox 17101 Fun Robot Building Set and Educational Coding Kit for Kids, Award-Winning STEM Learning Toy (847 Pieces) : Toys & Games
BOOST Creative Toolbox 17101 | BOOST | Buy online at the Official LEGO® Shop US
LEGO BOOST on-the-fly coding robot - LEGO custom model with building instructions – Prof. Bricks