Script movement issues

Okay so I am creating a project for my computer class and I am running into the issue of my ball not moving within my script. I've tried troubleshooting but I just don't understand where I might've gone wrong. I'm not very experienced and directions for the assignment were unclear. I had to create some of my own variables and actions and i'm wondering if that's where the issues lies. My ball changes colors as it should my only issue is the actual movement of the ball and leaving a trail behind it.

Try asking your teacher and see if they can explain task more to you

I just moved some stuff around and got it moving, I didn't have what I needed in my forever loop!