If action And LANDED get_a_brick() ElseIf MilliSecs()-time > speed move_down() time=MilliSecs() ElseIf KeyDown(DOWNARROW) And (MilliSecs()-time > 40) move_down() time=MilliSecs() ElseIf KeyHit(LEFTARROW) move_brick(WEST) ElseIf KeyHit(RIGHTARROW) move_brick(EAST) ElseIf KeyHit(UPARROW) rotate_brick(CLOCKWISE) ElseIf KeyHit(LEFTCONTROL) rotate_brick(ANTICLOCKWISE) EndIf