title: Libgdx Mouse just clicked
body: <p>I'm trying to get when the mouse just clicked, not when the mouse is pressed.
  I mean I use a code in a loop and if I detect if the mouse is pressed the code will execute a lot of time, but I want execute the code only Once, when the mouse has just clicked.</p>
  
  <p>This is my code :</p>
  
  <pre><code>if (Gdx.input.isButtonPressed(Input.Buttons.LEFT)){
  
              //Some stuff
  }
  </code></pre>