# Controllable & Not Controllable Player

The player is controllable when ***Controllable*** in PlayerControl.cs is true. If it is false, you no longer will be able to perform any player action.

Refer to [PlayerControl.cs](https://cowsinss-organization.gitbook.io/fps-engine-documentation/content/03.-content/03.3-player/playercontrol)

### Functions and Accessors | PlayerStats.cs&#x20;

> <mark style="color:orange;">Controllable ( bool ) / Public get / Private set</mark>
>
> Returns true if the player can be controlled.
>
> Returns the value of "controllable"

> <mark style="color:green;">Grant Control()</mark>
>
> Force Controllable to be true.

> <mark style="color:green;">Lose Control()</mark>
>
> Force Controllable to be false.

> <mark style="color:green;">CheckIfCanGrantControl()</mark>
>
> Checks if the game is paused before providing control to the player.&#x20;
>
> Recommended usage over GrantControl to avoid issues.


---

# 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://cowsinss-organization.gitbook.io/fps-engine-documentation/how-to-use/controllable-and-not-controllable-player.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.
