All modern graphical user interfaces include being able to drag-and-drop objects from one location to another. Torque 3D's GUI also supports drag-and-drop operations with a little bit of setup. In this recipe, we will create two windows that demonstrate how to drag-and-drop items between them. The first window will stand for an RPG inventory, while the second window will represent an RPG paper doll display.
For this recipe, we will be working with the GUI Editor, a text editor such as Torsion, and the console. We begin by starting up our game (such as the one built using the Full
template) with the main menu currently displayed.