# Control Locker

This feature allows you to lock a user's control, preventing them to moving, looking around, or interacting.

Add the ControlLocker component to a Canvas or an empty object. Make sure the object remains disabled and only enable it when the you need to *lock* the player's controls.&#x20;

<figure><img src="/files/F56OqHqMHJlmnSGxp5Ug" alt=""><figcaption><p>A canvas containing ControlLocker Component and is disabled.</p></figcaption></figure>

This component is useful when displaying UI where the user should not be moving or interacting with anything else.


---

# 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://docs.holofair.app/development/features/control-locker.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.
