World Object Location to Mini Map Location

Hi there, sorry for the question on a post that dates back to 2015 but could you please tell me how you can apply world coordinates to a minimap? When i click on my minimap, i would like it to display to location of where i am clicking in the viewport. For instance, if an object is located at x=5 and y = 5, then when i click on my minimap on said object, i would like for it to print the location x=5, y=5. I’ve been on this for days…