2

Is it possible to input values into a switch block? For example, if I have a move steering block in switch statement, can I input a value for power from a math block outside the switch statement? If I have a move steering block inside a switch, it looks like all I can do is set the slider value.

2

Yes, it is possible to connect data wires from outside switch blocks and loop block to inside of them. Note: Switch blocks must be switched to the tabbed view by clicking on the enter image description here icon. Then just drag the output data wire from the math block to the input of the steering block the same as if the switch block was not there.

enter image description here

  • Thanks Dave, the trick I was missing was that you need to be in tabbed view, it can't be done in flat view, correct? – William Denson Nov 2 at 15:23
  • Yes, that does seem to be the case. Thanks for pointing that out. I will update my answer. – David Lechner Nov 2 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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