Skip to content
EnvironmentOverview

setfflag

Represents modification of runtime feature flags.

Details#

Attempts to change a named local runtime flag. Only flags recognized by the current runtime are meaningful; it does not create application settings. Invalid names or values can raise errors.

Examples#

Example

Luau
local ok, err = pcall(setfflag, "DocsNonexistentFlag", "false")
print(ok, err)