# Keypad & Phone

{% embed url="<https://drive.google.com/file/d/1g4zv8_77QRdtYWG0Sn6fDMDnvX_6Hvbf/view?usp=sharing>" %}

### Keypad Setup:

* You will need a KeypadController GameObject to control the keypad you're using.

{% hint style="info" %}
**KeypadType:** Choose the type of keypad that will open the UI&#x20;

**Character Limit:** Set how many characters should be allowed to be input

**Keypad Codes List:** You can add a new event, add a code and then a custom outcome for that

**Keypad Sounds:** The sound effects as below

**Trigger Events:** Whether you want to use a Trigger Event or not
{% endhint %}

<figure><img src="/files/BaBiIzWCsQj68CWRkyrv" alt=""><figcaption></figcaption></figure>

### Keypad Model:

{% hint style="info" %}

* **Tag:** InteractiveObject
* **Box Collider**
* **AKItem:** Keypad Sys
* **Keypad Item:** Add the controller that we have above
  {% endhint %}

<figure><img src="/files/nTjMHFgYceSz0hJQyQh8" alt=""><figcaption></figcaption></figure>

### Keypad Canvases:&#x20;

{% hint style="info" %}
You will need the **AK - Keypad Canvases**
{% endhint %}

<figure><img src="/files/UzAvp5OGGx6nUdGEMlyM" alt=""><figcaption></figcaption></figure>

### Setting on the AK - UI Manager

{% hint style="info" %}

* Make sure in the Show Keypad Properties section that the above canvases are added
  {% endhint %}

<figure><img src="/files/d6VOjywIDMm4pGVhd7Vk" alt=""><figcaption></figcaption></figure>


---

# 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/apk-documentation/system-breakdowns/keypad-and-phone.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.
