I want to calculate positioning of a pingpong ball (area of the whole ping pong table). 

Which sensor shoudl I use?