title: Making a Group hide Actors outside of its bounds
body: <p>I have created a very simple plot that is dynamically updated by adding new images on the right side of the screen, and then making them move towards the left side. This way, the plot within the screen's bounds looks like they are plotted as time goes by.</p>
  
  <p>Unfortunately, when doing it this way, I have to let the images start outside of the screen, and move into view, and I can't remove them again before they are completely outside of the screen on the left side. This results in the images being partially visible outside of the screen's bounds.</p>
  
  <p>The control is created as a <code>Group</code> that contains two static images (a black background and the image of the screen as foreground), plus all the moving images in between. This <code>Group</code> is then added to my <code>Stage</code> (like all other actors), and drawn as part of the <code>Stage</code>.</p>
  
  <p>In the image below, the control's bounds are marked with red. I would like to hide the parts of the moving images that are outside of these bounds. Is this possible to do using some libGDX functionality I have missed? By somehow constraining the Group's drawing area, perhaps?</p>
  
  <p><img src="https://i.stack.imgur.com/rQHBY.png" alt="An illustration of how the screen works."></p>
  
  <p>My other alternatives are to draw parts of the blue background in front of the screen, to hide the outliers, or to make the screen's edges thick enough to hide them. I think that both these solutions are unnecessarily inconvenient, and I'm pretty sure there is a better way to do this.</p>
  
  <p>Any suggestions?</p>