LEGO® Answers is a question and answer site for LEGO® and building block enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What I see is just a simple if/then/else. What I am looking for is to be able to add multiple options, more than yes/no.

I use a motor as a switcher, so I rotate it to some position and measure its degrees to switch the mode of the robot and there are going to be more than 2 modes, like 4-8. How can I do it in an elegant way?

share|improve this question
up vote 2 down vote accepted

I just discovered this a few days ago. If you use "Numeric" as the input type and switch to tabbed view, you can have a select/case/default type instruction instead of if/then. It also works with text input as well as as some sensors.

enter image description here

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.