Game Development Reference
Go to Logic Editor and create a Keyboard sensor, And controller, and two actuator
bricks: a Moion actuator to move our whale in the scene and an Acion actuator for
selecing which animaion you want. Connect them as shown in the next screenshot:
Remember, you must write the Start and End of frames in
the Acion brick panel.