| 1 | {{Template:GUI_Object|empty|none|none}} |
| 2 | |
| 3 | Has no functionality; used as a container to group child objects. |
| 4 | |
| 5 | Can be used as a coordinate-system for instance, making the children relative in position. |
| 6 | |
| 7 | Empty is also the default type, which means it's possible to use an object tag devoid of properties: |
| 8 | {{{ |
| 9 | <object> |
| 10 | ... |
| 11 | </object> |
| 12 | }}} |
| 13 | |
| 14 | This makes for a great generic container, for instance to group [wiki:GUI_-_Radio-button Radio-buttons] together. |
| 15 | |
| 16 | Notice if you give an ''empty'' control a size, it will still not block world interaction, i.e. the ''empty'' control is inherently [wiki:GUI_-_Properties#ghost ghost]. If you need a "glass layer" (a "hollow blocker" or invisible object that stops objects under it from being clicked), it's better to use an [wiki:GUI_-_Image Image] without a sprite. |