pretty sloppy. will refine soon. rabbit goes to where you click on screen. g++ -o rabbit rabbit_animation.cpp -lSDL -lSDL_image