How to change from FPS controls to mouse pointer on UI controls?

How can I go from an FPS view (where the mouse controls aim), to a UI view where the mouse can point and click on the UI elements, like buttons?

I found a video tutorial here that answered the question