title: Finding component's x,y location
body: <p>I have a component that changes its location based on other elements. I'm trying to find its x and y position at different intervals, so I tried <code>compname.x</code> and <code>compname.y</code>. </p>
  
  <p>The <code>x</code> position seems to be working, but the <code>y</code> position is always 0. I'm guessing I need to play with <code>localToGlobal</code> or <code>contentToGlobal</code> or one of those conversions. Is that the problem?</p>