title: LibGdx How to make a sound play only at start of overlap between Actors?
body: <p>I'm trying to make an Ouch! sound play at only the start of an overlap between a ball and wall Actors. So if the overlap is maintained I don't want the sound to play unless actors stop overlapping and then overlap again.</p>
  
  <p>Here is part of the code where I'm trying to play the ouch sound:</p>
  
  <pre><code>for (BaseActor wallActor : BaseActor.getList(mainStage, "com.mygdx.game.WallBlock")){
          ball.preventOverlap(wallActor);
  
          ouch.play();
      }
  </code></pre>
  
  <p>Please provide an example of how I could make this work.</p>