Yuari
Documentation

setfflag

Reads or writes a module-local FFlag.

Syntax

setfflag(name: string, value: any) -> nil

Parameters

ParameterTypeDescription
namestringThe name used for the lookup or new object.
valueanyThe value to apply.

Returns

TypeDescription
nilThis 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.