// state machine // List animations here typedef enum STATE { CHASETHEDOT, PLANARFLOP3D }; STATE currentState, lastState;