I have a student that is wanting to switch between screens when the toggle switch is open/closed. He is wanting it be on screen 1 when the toggle switch is open and on screen 4 if the toggle switch is closed. Ideally, he is wanting to be able to switch between screens even in the middle game if the toggle switch is open/closed. Please see his code below. Thanks for the help.
I definitely get two different screens if the toggle switch is open or closed. If it is open, I go to the rope screen and can play the fun game . If it is closed, I stay on the start screen. So, this part of the code is working (yay!) as intended.
Sounds like your student wants to be able to switch screens from the toggle switch. Not much to add…just a board event for the toggle switch that would encompass all existing code that would be triggered if someone “changed” the toggle switch state.
Hope this helps but let us know if you have more questions,