# Where are the Inputs?

### Where is the input reference?

{% hint style="info" %}
There are THREE input reference in this package and it is located below:

* **SafeInteractor** script has an input for interacting with objects with the raycast
* **SafeController** script has an input for opening and closing the keypads
* **SafeTrigger** script for closing the keypads from trigger events
  {% endhint %}

## Changing the Inputs

### SafeController

```csharp
private void Update()
{
    if (!canClose && isInteracting && Input.GetKeyDown(closeKey))
    {
        CloseSafeUI();
    }
}
```

### SafeInteractor

```csharp
if (safe != null)
{
    if (Input.GetKeyDown(interactKey))
    {
         safe.ShowSafeLock();
    }
}
```

### SafeTrigger

```csharp
void ShowSafeInput()
{
    if (canUse && Input.GetKeyDown(triggerInteractKey))
    {
        SafeUIManager.instance.SetInteractPrompt(false);
        _safeItemController.ShowSafeLock();
    }
}
```


---

# 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://speedtutoruk.gitbook.io/safe-system-doc/support/where-are-the-inputs.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.
