Class · inherits GenericSettings
GlobalSettings
Collection of menu settings for Roblox Studio.
About GlobalSettings
The base object used for Roblox Studio's settings menu. Can be accessed by
using the settings() function, which requires the Plugin capability.
Settings classes under the GlobalSettings
Methods 2
GetFFlag
(name: string) → booleanReturns the value of an FFlag if it exists.Looks up the fast flag registered under
nameand returns its current value as a boolean:truewhen the flag's value istrue, andfalseotherwise. Provide the flag's registered name without its type prefix, for exampleMyFeaturerather thanFFlagMyFeature. If no flag with that name is defined in the engine, the method raises an error instead of returning a value, so avoid querying flags that might not exist. Access it through thesettings()global (requires the Plugin capability), as insettings():GetFFlag("MyFeature").GetFVariable
(name: string) → stringReturns the value of an FVariable, if it exists.Looks up the fast variable registered under
nameand returns its current value as a string. Provide the variable's registered name without its type prefix. As withGlobalSettings.GetFFlag, if no variable with that name is defined in the engine, the method raises an error rather than returning a value. Access it through thesettings()global (requires the Plugin capability), as insettings():GetFVariable("MyValue").
GlobalSettings also has every member of GenericSettings. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.