Introduction
Torque 3D includes an extensive graphical user interface (GUI) system. It is relied upon by the in-game systems, as well as by all of the editors. The primary method of creating and manipulating GUI controls (for the main menu of a game, head-up display (HUD), and so on) is through the GUI Editor. The GUI Editor is always accessible and may be opened by pressing the F10 key. When it comes to making the UI functional, we usually need to turn to TorqueScript methods and functions to get the job done.
In this chapter, we will discuss some important GUI concepts that often come up while working on a game, but whose information can be hard to come by. For an introduction to the GUI Editor, please see the GUI Editor Overview on the official documentation page at http://www.garagegames.com/documentation/torque-3d.