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

# Exports

> Client exports for integrating NEX Anim Pos with other resources — menus, emote scripts, admin tools.

Client exports for integrating NEX Anim Pos with other resources — menus, emote scripts, admin tools.

Resource name is `nex_animpos`. Both exports are **client-side**.

## Client exports

| Export                      | Returns   | Use case                                                                |
| --------------------------- | --------- | ----------------------------------------------------------------------- |
| `CheckSit()`                | `boolean` | `true` while the player is in positioning mode.                         |
| `DisableCommands(disabled)` | —         | Temporarily pause (`true`) or resume (`false`) the positioning session. |

## `CheckSit()`

Returns `true` while the local player has an active positioning session (including while the position is confirmed but not yet exited).

```lua theme={null}
if exports.nex_animpos:CheckSit() then
    -- e.g. block your emote menu from starting an animation mid-positioning
end
```

## `DisableCommands(disabled)`

Pauses or resumes an active session without ending it. Pausing drops the scripted camera, releases NUI focus, and hides the panel; resuming brings everything back exactly where it was. Use it when another resource needs the screen or the mouse — a phone, a menu, an inventory.

```lua theme={null}
-- Your menu opens:
exports.nex_animpos:DisableCommands(true)

-- Your menu closes:
exports.nex_animpos:DisableCommands(false)
```

<Info>
  If the player wasn't positioning, calling `DisableCommands` is harmless — resuming only re-opens the editor when a session is actually active.
</Info>
