So I was using this code to get the coordinates of the touch in the screen.
if(Gdx.input.justTouched()){
System.out.println("X= "+Gdx.input.getX()+"Y= "+Gdx.input.getY());
}
but if I have a device with a 1280x960 resolution and I have a 800x600 orthographic camera.
What can I do to obtain the coordinates inside the camera instead the device touch coordinates
"for example if I touch the limit of the screen on the x axis I want to get 800 instead of 1280"