---
title: "getfflag"
description: "Reads an existing engine flag as a string."
---

```lua
getfflag(name: string): string
```

---

## Aliases

None.

---

## Arguments

<ParamField body="name" type="string" required>
  The existing engine flag name.
</ParamField>

---

## Returns

<ResponseField name="value" type="string">
  The flag's current value as a string.
</ResponseField>

Unknown names raise Unknown FFlag. Boolean and numeric values are still returned as strings.

---

## Example

```lua
local ok, value = pcall(getfflag, "TaskSchedulerTargetFps")
print(ok, value)
```
