powerswitch.Animate(0, 1);powerswitch.AnimStayBegin = 1;powerswitch.AnimStayEnd = 1;powerswitch.Update();
powerswitch.Animate(1, 0);powerswitch.AnimStayBegin = 0;powerswitch.AnimStayEnd = 0;powerswitch.Update();