Components
Widget

Widget

A plugin widget with a Background component.

Properties

NameTypeDescription
IdstringThe Identifier of the widget.
Title(string | Fusion.Value<string>Fusion.Computed<string>)?
InitDockStateEnum.InitialDockState?The initial dock state for the widget.
InitEnabledboolean?The enabled state of the Widget if it does not have a saved state from a previous session.
OverrideEnabledRestoreboolean?If true, will override any saved enabled state with the InitEnabled value.
FloatXSizenumber?The initial pixel width of the PluginGui when floating.
FloatYSizenumber?The initial pixel height of the PluginGui when floating.
MinWidthnumber?The minimum pixel width of the PluginGui. (Defaults to FloatXSize).
MinHeightnumber?The minimum pixel height of the PluginGui. (Defaults to FloatYSize).
DebugModeboolean?If true then an unhydrated copy of the widgets children is parented to StarterGui.

Example

Scope:Widget {
  Id = "IgnitePlugin ",
  Title = "Ignite Plugin",
  InitDockState = Enum.InitialDockState.Float,
  FloatXSize = 300, FloatYSize = 150,
}