# Input Locations

### Where is the input reference?

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

* **PadlockInteractor** script has an input for interacting with objects with the raycast
* **PadlockTrigger** script
* **PadlockController** script to close the opened item
  {% endhint %}

### Changing the Input:

#### PadlockController:

```csharp
void Update()
{
    if (isShowing && Input.GetKeyDown(closeKey))
    {
         DisablePadlock();
    }
}
```

#### PadlockTrigger:

```csharp
void ShowPadlockInput()
{
    if (canUse && Input.GetKeyDown(triggerInteractKey))
    {
        padlockController.ShowPadlock();
    }
}
```

#### PadlockInteractor:

```csharp
if (padlockItem != null)
{
    if (Input.GetKeyDown(interactKey))
    {
         //Logic
    }
}
```
