If you mean on a canvas then simply use the X and Y blocks for the ball or sprite from the drawer
If you mean on a normal screen layout, you will need to do some maths, know the dimensions of the screen display, what happens to these dimensions if you use "responsive" sizing (or understand the percentage relationship)
Say you have a component, let us use a label, sized 100x200.
Screen is set to centre / centre
Screen dimensions are 360 wide by 480 high (from screen1.width / screen1.height)
X = 360/2 - 100/2 = 130
Y = 480/2 - 200/2 = 140
From this base you should be able to devise further calculations for more complex layouts