lol
Code:
while(panel.alpha > 0){ //while it's visible, not <= 0 and not >= 100
  panel.alpha -= time_step * 2;
  wait(1);
}