<p>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 <a href="https://i.sstatic.net/h3WJb.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/h3WJb.png" alt="enter image description here"></a> 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.</p>

<p><a href="https://i.sstatic.net/RTxac.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/RTxac.png" alt="enter image description here"></a></p>

CC BY-SA 4.0
2019-11-02T15:23:30.083Z
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
CC BY-SA 4.0
2019-11-02T17:13:44.833Z
Yes, that does seem to be the case. Thanks for pointing that out. I will update my answer.
David Lechner
CC BY-SA 4.0
2019-11-01T21:01:30.470Z
2019-11-02T17:16:03.807Z
2019-11-02T17:16:03.807Z
David Lechner
<p>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. </p>

<ev3>
Can the EV3 software program switch block take inputs?
William Denson
# Can the EV3 software program switch block take inputs?

(Asked by: username_0 on 2019-11-01)

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.

**Tags:** ev3


---

## 1 answers

### Answer by username_1 on 2019-11-01. Score: 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](https://i.sstatic.net/h3WJb.png)](https://i.sstatic.net/h3WJb.png) 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](https://i.sstatic.net/RTxac.png)](https://i.sstatic.net/RTxac.png)

> **Comments:**
> **username_0**: 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?  
> **username_1**: Yes, that does seem to be the case. Thanks for pointing that out. I will update my answer.  

---

