setfflag
Reads or writes a module-local FFlag.
Syntax
setfflag(name: string, value: any) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The name used for the lookup or new object. |
value | any | The value to apply. |
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
setfflag is part of the Miscellaneous library. Miscellaneous helpers cover module identity, scheduler settings, teleport queueing and other process-level utilities.
The change is applied directly to the live target, so later reads observe the updated value.
The aliases getfflag(name) resolve to the same implementation.
Example
setfflag("DFIntTaskSchedulerTargetFps", "240")
print(getfflag("DFIntTaskSchedulerTargetFps"))
Notes
- Aliases:
getfflag(name). - Some settings affect the module globally rather than the current script.