java - LibGDX, Need click event in portable application and in Stage, how? -
i creating video game libgdx, need have 2 click events, 1 on stage object, other on window.
when add stage on init method :
gdx.input.setinputprocessor(stage);
the event onclick inherited portable application disabled...
is there solution problem ?
thank !
use gdx.input.setinputprocessor(new inputmultiplexer(otherinputprocessor, stage));
swap order of 2 if want stage take precedence.