Thanks, it workedI fixed your code.
BUT, you're doing it wrong. love.timer.sleep() should almost never be used.
https://love2d.org/wiki/dt
Now to get it so that the image's position changes to what the mouses position is... Oh well..
Thanks for the help.