(Solved) 2D Overlay lwjgl

How would I overlay an object on the screen so that when I use glVertex2i(x, y);, it is in relation to the screen and not the translation.

Right now I am using glTranslatef to move the screen around, so when I decided to attempt to make a gui that overlays over the screen, I realized that the gui would also be translated. Of which I do not want.

Well, the simplest way is to surround your world render code and gui code into glPushMatrix and glPopMatrix. (both separately) And then do the world translations in there.

I did what you told me to do.

It works great, and is simple. Thank you very much for your help :D!!!