Sometimes, our menus and HUDs will become complex. Settings menus, player inventories, and map screens can all have complex designs and layouts. When our widgets reach this point, the Designer window can become overly complicated, and the Blueprint window even more so as it tries to keep things organized.
Fortunately, not everything that our widgets use needs to be pieced together from individual buttons, images, and text. If we need to, we can make a smaller widget (such as a chat box, for instance) and add that entire widget to another one (such as our HUD, by pressing T to bring up the chat box).
Let's take a look at how to do this in Awesome Game. For this example, we're going to set up a list of our pickup spheres and display them on the HUD.
First, let's change how the Pickup class works.