title: How to draw on just a portion of the screen with SpriteBatch in libgdx?
body: <p>When I do this:</p>
  
  <pre class="lang-Java prettyprint-override"><code>SpriteBatch spriteBatch = new SpriteBatch();
  spriteBatch.setProjectionMatrix(new Matrix4().setToOrtho(0, 320, 0, 240, -1, 1));
  spriteBatch.begin();
  spriteBatch.draw(textureRegion, 0, 0);
  spriteBatch.end();
  </code></pre>
  
  <p><code>SpriteBatch</code> will draw the <code>textureRegion</code> onto the coordinate system 320-240 that I have specified to the whole screen. Say I want to draw with the same coordinate system 320 240 but only <strong>on the left half of the screen</strong> (which means everything will be scaled down horizontally in the left side, leaving the right half of the screen black), how can I do?</p>