playing an animation

i have a cube that i want to move, i animated it but i dont know how to make it play in the game engine.

Do the animation with the Ipo curves editor, then use the ipo actuator with an OR controller and your choice of sensor. If you use a key sensor it will play when that key is pressed.

thank you very much