title: How to keep a 2D Object 'attached' to another 2D object relative to its rotation?
body: <p>I don't know how to explain this in the title, i'm new here, so hi, and sorry for any mistake I did.</p>
  
  <p>Say I had two squares, Square 1 and Square 2, in my case,</p>
  
  <p>Square 1 is rotating, it's pointing relative to the mouse's 2D Position.
  X,Y=x1-x2,y1-y2 deg(atan2(Y,X)).</p>
  
  <p>Square 2 is just 1 pixel, positioned at the top edge side of the Square 1.</p>
  
  <p>How would I make it so Square 2 will always be at the top edge side relative to the rotation, like, it's 'attached' to it?</p>
  
  <p>Thanks!</p>