I am creating a video game with libGDX, for this i need to have 2 click events, one on a stage object, the other on the window.
When i add the stage on my init method with :
Gdx.input.setInputProcessor(stage);
The event onClick inherited from portable application is disabled...
Is there a solution for my problem ?
Thank you very much !
Use Gdx.input.setInputProcessor(new InputMultiplexer(otherInputProcessor, stage));
Swap the order of the two if you want the stage to take precedence.