title: Using tables in Lua
body: <p>I'm developing a simple small game and I'm having some issues with addressing the data that I store in tables.</p>
  
  <p>I'm quite a beginner so sorry in advance for the basic questions.</p>
  
  <p>for example, (and yes, its a game with tampons..)</p>
  
  <p>I created this table:</p>
  
  <pre><code>tampon={}
  tampon.x=50
  tampon.y=112
  tampon.spr=6
  </code></pre>
  
  <p>and im saving the "tampon" into:</p>
  
  <pre><code>tampon_box={}
  </code></pre>
  
  <p>with this code: </p>
  
  <pre><code>add(tampon_box, tampon)
  </code></pre>
  
  <p>How can i print, or get the value of tampon.x that is stored inside the tampon_box?</p>