Certain GUI elements are updated on an action event, (ammo in the FPS demo, etc) . If you take a look at these events, you'll get a better idea of how it all works. I know theres a onObjectSelected(%this, %obj) event method, not sure if the scope exists on all GUI elements or what, but after it would be called, the main GUI element is stored in the %this variable and you're able to dig into the object further. A lot of these events and object properties can be found in the Torque documentation, found on google, you just have to keep in mind the object you're referencing.