setfflag
Sets a Roblox Fast Flag value.
Syntax
setfflag(name: string, value: string) -> voidParameters
| Parameter | Type | Description |
|---|---|---|
name | string | The flag name |
value | string | The value to set |
Returns
This function does not return a value.
Description
setfflag sets the value of a Roblox Fast Flag (FFlag). These flags control various engine features and behaviors.
Example
-- Enable a flag
setfflag("DFIntTaskSchedulerTargetFps", "240")
-- Disable graphics features
setfflag("FFlagDebugDisableTelemetryEphemeralCounter", "true")Notes
- Flag names are case-sensitive
- Values are always strings
- Some flags require restart to take effect
- Not all flags can be modified
Related Functions
getfflag- Get flag value