> For the complete documentation index, see [llms.txt](https://docs.blazesmods.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blazesmods.com/scripts/ld-blazeshield/controls.md). Agents can also search and read this documentation through its [MCP server](https://docs.blazesmods.com/~gitbook/mcp).

# Commands & Controls

***

### **Raising the shield**

**With an inventory:** use the shield item to raise it, and use it again to lower it.

**Standalone:** use the `/shield` command.

| Command                   | Action                                                          |
| ------------------------- | --------------------------------------------------------------- |
| `/shield <agency> [type]` | Raise a shield. Type `1` = no cover (default), `2` = with cover |
| `/shield`                 | Lower the shield while it is up                                 |

The agency can be a number or a name:

| # | Agency  | Names you can type      |
| - | ------- | ----------------------- |
| 1 | SASP    | `SASP`, `STATE`         |
| 2 | Police  | `POLICE`, `PD`, `LSPD`  |
| 3 | Sheriff | `SHERIFF`, `SO`, `BCSO` |
| 4 | FBI     | `FBI`, `FIB`            |

Examples: `/shield 3`, `/shield 3 2`, `/shield sheriff 2`. The old order, `/shield 1 SASP`, still works.

{% hint style="info" %}
`Config.Command = 'auto'` turns the command on only when no inventory is used. Set it to `true` to allow it with items too, or `false` to turn it off. `/shield` always lowers a raised shield.
{% endhint %}

The shield comes down by itself when you die, when the shield item leaves your inventory, or (with ox\_inventory) when you holster or switch weapons.

***

### **Shield light**

The light only works while a shield is up.

| Default key         | Command               | Action                                |
| ------------------- | --------------------- | ------------------------------------- |
| `Middle mouse`      | `/shieldlight`        | Light on / off                        |
| Hold `E` + `Scroll` | `/shieldlight_adjust` | Adjust the beam while the light is on |
| `Q`                 | `/shieldstrobe`       | Strobe on / off                       |

#### **Adjusting the beam**

Hold the adjust key while the light is on and scroll:

* **Scroll up:** wider flood, shorter reach.
* **Scroll down:** narrower spot, brighter and longer reach.

Set `Config.Light.adjust.invert = true` to swap the scroll direction.

#### **Strobe**

* Strobe with the light **off**: the light turns on to flash and turns off again when the strobe stops.
* Strobe with the light **on**: the light stays on, steady, when the strobe stops.

{% hint style="info" %}
Players can rebind every key in **Settings > Key Bindings > FiveM**. Changing a default in `config.lua` only affects players who haven't bound it yet.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.blazesmods.com/scripts/ld-blazeshield/controls.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
