title: Convet coordinates to a different coordinate system?
body: <p>Hey guys im making a GUI and the image on my GUI uses the coordinate system of computers which looks like <a href="https://i.stack.imgur.com/WFpGp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WFpGp.png" alt="this"></a></p>
  
  <p>and my trying to convert the coordinates to a normal coordinate system like <a href="https://i.stack.imgur.com/Klghc.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Klghc.jpg" alt="this"></a></p>
  
  <p>going crazy cant figure this out. Im using LUA right now. But when I click on the image I get the coordinates of the first coordinate system but then need to convert to the second coordinate system so it can be used in game.</p>
  
  <p>what my gui looks like </p>
  
  <p><img src="https://i.stack.imgur.com/vRRAC.jpg" alt="enter image description here"></p>
  
  <p>So example when I select my Gui I get x=492 and y=247 which should be 0,0 for my in game coordinates. I just need a way to convert them over. One pixel is 500 meters in game so 0,1 would be 500 meters in game. </p>