or you could use variables to move your ball...
[Befor Loop]
XSpeed#=0
YSpeed#=0
[During Loop]
If Spacekey()=1 and Xspeed#=0 and YSpeed#=0
XSpeed#=rnd(5)-2.5
YSpeed#=rnd(3)+2
Endif
Position Object BallObj,Object Position X(BallObj)+XSpeed#,Object Position Y(BallObj)+YSpeed#,0
...and to make the ball bounce off objects just change the Xspeed# and YSpeed# or multiply them by -1 whenever they collide with the paddle, blocks, or walls...
well...I hope that helps...
Do not thwart the way of the dragon. For thou tasteth like chicken.