> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fzd-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exports

> Client export reference for FzD Action Wheel.

<Warning>
  All native FzD Action Wheel exports are client-side.
</Warning>

## `open(actions?, options?)`

Opens a contextual menu, or the current normal registry when `actions` is omitted internally.

```lua theme={null}
local ok, reason = exports.fzd_actionwheel:open(actions, {
    title = 'SHOP',
    position = { x = 70, y = 50 }
})
```

Returns `true`, or `false, reason` when validation fails.

## `close()`

```lua theme={null}
local closed = exports.fzd_actionwheel:close()
```

Returns `true` when a visible wheel was closed.

## `toggle()`

```lua theme={null}
exports.fzd_actionwheel:toggle()
```

Closes the current wheel or opens the normal action registry.

## `isOpen()`

```lua theme={null}
local open = exports.fzd_actionwheel:isOpen()
```

Returns whether a wheel is currently open on the client.

## `registerAction(action)`

```lua theme={null}
local ok, reason = exports.fzd_actionwheel:registerAction({
    id = 'my_script:menu',
    label = 'My Menu',
    icon = 'bars',
    clientEvent = 'my_script:open'
})
```

Adds one top-level action. Returns `true`, or `false, reason`.

## `removeAction(id)`

```lua theme={null}
local removed = exports.fzd_actionwheel:removeAction('my_script:menu')
```

Removes a matching top-level action and returns whether it existed.

## `setActions(actions)`

```lua theme={null}
local ok, reason = exports.fzd_actionwheel:setActions(actions)
```

Replaces the complete normal action registry.

## Compatibility exports

The resource also exposes compatibility exports used by the QB/Ox bridges, including `AddOption`, `RemoveOption`, `addRadialItem`, `removeRadialItem`, `clearRadialItems`, `registerRadial`, `showRadialMenu`, `hideRadial`, `disableRadial` and `getCurrentRadialId`.

Use the dedicated compatibility guides when migrating an existing radial integration instead of treating these as the preferred native FzD API.
