To toggle the visibility of the UI, press F3.