Binds a function to be triggered when value of the UIToggle changes
ovc = function() Space.Log("Toggled") end Space.Host.ExecutingObject.UIToggle.OnValueChanged(ovc)
Whether the UIToggle is Enabled or not
Space.Host.ExecutingObject.UIToggle.Enabled = true
Whether the UIToggle is Interactable or not
Space.Host.ExecutingObject.UIToggle.Interactable = true
Whether the UIToggle is toggled On or Off
Space.Host.ExecutingObject.UIToggle.IsOn = true
|