If you want to use 3D mode you first need to set GameMaker: Studio to draw in 3D mode (you can later switch back to 2D mode if you want) as well as set up certain details about how you want things in the 3D environment to be rendered.
The following functions exist for setting up the 3D environment: