# CCVar

Usage:

<table><thead><tr><th width="287">Usage: game.cvar:{method}</th></tr></thead><tbody><tr><td></td></tr></tbody></table>

This type represents the game's cvar system.

## Find﻿ <a href="#find" id="find"></a>

<mark style="color:purple;">**`Method`**</mark>

Get the game's cvar under this name.

**Arguments**

| Name   | Type     | Description |
| ------ | -------- | ----------- |
| `name` | `string` | Var name.   |

**Returns**

| Type                                            | Description    |
| ----------------------------------------------- | -------------- |
| [`ConVar`](/api/instances/game/ccvar/convar.md) | Convar object. |

**Example**

```lua
local sv_quantize_movement_input = game.cvar:Find('sv_quantize_movement_input')
if not sv_quantize_movement_input then
    error('sv_quantize_movement_input not found')
end
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lua2.fatality.win/api/instances/game/ccvar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
