# 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();
    }
}
```
