Alice Community

Alice Community (
-   How do I...? (
-   -   Chapter 6 switch (

qnonymouse 07-28-2012 06:39 PM

Chapter 6 switch
I am having trouble with chapter 6 exercise 12. The switch needs to be flipped once it is clicked on. So I would create a method for the switch to rotate 1/2 forward or backwards depending on weather or not the switch is in the on position or not. I need to make a function that decides weather or not the switch is in that current position. Any advice? I cant seem to do too much in the function section. I was trying an if/else and dragging the is above an invisible circle. ?? help..

All times are GMT -5. The time now is 10:20 AM.

Copyright ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.