- pos
An array with two elements defining the position of the component.
- width
A number for the width of the component.
- height
A number for the height of the component.
- name
The name of a component, used when referencing with a script.
- color
A hexcode color value of the component. If this is a text component it defines the color of the text. If it is an image component then it changes the color of the image.
- bgcolor
A hexcode color value of the component's background.
- tooltip
A string to show when hovering the mouse over the component.
- text
A string to show on text or button components.
- image
A path to an image to show on button or image components.
- events
An array of strings defining what events are fired by the component.
- eventNames
Unknown, used in weapon_rocket.
- data
Data to send with an event in the _DATA variable.
- choices
An array of strings defining what options are available on a choiceButton.