ok im working with a graph and im making it so if i click somewere and it makes a ball that ball will go twords another point.
what i have to work with is a function than is like this :
i have it so it will get the position of the mouse for position xstarting position , ystarting position and i dont know how to make it so i can give it a velocity that will got twords another position all the time and the other position is moving? and help??
create(baseball,xstarting position,ystarting position,x velosity,y velocity)