Also use the ? button, it will brake things down for you, learn things like,
gcolor rgb(20,20,256)
gline 0,0,100,100
Also learn print and input
if you don't know these then your wasting your time with sprites
now copy this, its a medium level program, its a simple pointer program, I am new too, but take your time and read your manual and (?) button, sample programs show each step in learning. start at sample 1
0 is the first management number. If this is your first and only sprite, do 0. If you have a second sprite at the same time, do 1.
Up is 1, down is 2, left is 4, and right is 8. It's better this way since you can press up and left together to make 5 and the computer will know. If it were 1,2,3,4 then up+left would be the same as pressing right, and that's no good.
Go look up Vsync.