That depends on the number of steps in the for loop.. If you want to continue you have to use a loop which doesn't end (e.g. While "True" )
My program shows in which direction your prograsmming could go
You also have to add top and right walls and a paddle, detect when the ball hits one of those and act accordingly.
The tag "small-basic" is for Technical questions about Microsoft Small Basic, the only text-based language and IDE built for students to learn to code
Please remove the tag "small-basic" as your question in not about Small Basic