Hi there, my question is probably too basic but I'm starting with this and I can't understand why do we use this function:
Ifit is a random position and I write the next:
Random integer from hole radius
To canvas1 width – hole radius
That means that my ball will start from at least a distance of its radius until the width of the canvas less its radius? but if I start in the middle of the canvas the ball will go over the edge. Thank you for your help!