Coordinates for object tracking

Hi noob here. Simple thing which I can’t seem to find and that’s how to get the coordinates for objects which are currently being tracked

Any help much appreciated

and how do you track them? a piece of code would help you.

I just found a piece of code on the internet. Im at school at the moment so I can’t get my code. It’s just very simple. As I said I’ve got no clue about this.