Variable
The component Variable displays the value of a variable in the game as a number or gauge.
Selection framework
When you add the component, its selection frame appears in the preview. The frame displays the icon and the value of the variable.

Anchor points
Drag the anchor points to adjust the width or height of the frame. The text and the icon automatically adapt to the available space.
Rotation icon
Rotates the frame.
Trash icon
Removes the component from the interface.
General properties
Select the component to display its properties in the right panel.

Variable
Choose the variable to display among the variables of the project.
Name
Enables or disables the display of the variable name in the frame.
Position
Sets the display order of overlapping elements. The default value is zero. Increase it to place the component in front of elements with a lower position.
Icon
Enables or disables the display of the variable icon.
Gauge
Displays the variable as a gauge and shows the corresponding settings.
Font
Choose the font used to display the value.
Color
Choose the text color.
Gauge settings
These settings appear when you activate Gauge.

Max
Enables this option to display the current value followed by the maximum value, for example 30 / 100. Disables it to display only the current value.
Color 1
Choose the color of the filled part of the gauge.
Color 2
Choose the color of the empty part of the gauge.
Border radius
Sets the rounding of the gauge corners.
Max value
Enter the maximum gauge value directly or choose a project variable that defines this value.
Display
You can set display conditions for the Variable component.