# GlobalSettings

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [GenericSettings](https://rapi.sleaze.dev/classes/GenericSettings.md), [ServiceProvider](https://rapi.sleaze.dev/classes/ServiceProvider.md), [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Tags: Not browsable, Not creatable
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/GlobalSettings/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/GlobalSettings

Collection of menu settings for Roblox Studio.

## Methods

### GetFFlag

```luau
GlobalSettings:GetFFlag(name: string): boolean
```

Returns the value of an FFlag if it exists.

Parameters:

- `name`: The registered name of the fast flag to query, without its type prefix (for example, `MyFeature` rather than `FFlagMyFeature`).

Returns: `true` when the named flag's value is `true`, and `false` otherwise; raises an error if no flag with that name is defined.

### GetFFlagOverrides

```luau
GlobalSettings:GetFFlagOverrides(): string
```

- Tags: Roblox script security

### GetFFlags

```luau
GlobalSettings:GetFFlags(): string
```

- Tags: Roblox script security

### GetFVariable

```luau
GlobalSettings:GetFVariable(name: string): string
```

Returns the value of an FVariable, if it exists.

Parameters:

- `name`: The registered name of the fast variable to query, without its type prefix (for example, `MyValue` rather than `FIntMyValue`).

Returns: The current value of the named fast variable as a string; raises an error if no variable with that name is defined.

### SetFFlagOverrides

```luau
GlobalSettings:SetFFlagOverrides(overrides: string): boolean
```

- Tags: Roblox script security

## Inherited members

- From [ServiceProvider](https://rapi.sleaze.dev/classes/ServiceProvider.md): `FindService`, `GetService`, `getService`, `service`, `Close`, `CloseLate`, `ServiceAdded`, `ServiceRemoving`
- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
