EmptyWidget
Classes
Class: EmptyWidget
Extends Widget
Warning:
SetDrawBorderis currently broken.A
EmptyWidgetwidget is generic and minimal, primarily used as a container or placeholder. Supports optional border drawing with configurable color and opacity. Intended for layouts, anchors, or as a base for other composite widgets.
Method: SetDrawBorder
(method) EmptyWidget:SetDrawBorder(draw: boolean, r: number, g: number, b: number, a: number)
Sets whether to draw the border for the EmptyWidget and specifies its color.
@param
draw—trueto draw the border,falseto hide it.@param
r— The red color component (min:0, max:1).@param
g— The green color component (min:0, max:1).@param
b— The blue color component (min:0, max:1).@param
a— The alpha (opacity) component (min:0, max:1).