In BGE, can you make an objects animation only play when that object is in motion?
Well, make a Mouse sensor, and controller and action actuator and connect them together. Set the mouse sensor to what you need(for example, left button with true level triggering) and action actuator to your action! So simple!;)