# Setting Up Interactive Objects

## Basic GameObject Requirements

All objects that can be interacted with need to have a list of items attached and setup. (Each system may vary slightly but you can check out the individual breakdown pages for more information on those)

{% hint style="info" %}

1. Tag: **InteractiveObject**
2. Add Component: **Box Collider**
3. Add Component: **AKItem** Script (See the [AKItem explained page](/apk-doc-v1.7/akitem-explained.md) for more information)
4. Add Component: **System Item** Script
5. Add Component: (Some Systems) Additional Collection Script
6. Add Component: (If Examinable) **ExamianbleItem** script
   {% endhint %}

### Want To Change Highlight Names? Emission Highlights?

{% hint style="info" %}
Understand how to change highlight names, prompts and emission settings in the AKItem script using this [page](/apk-doc-v1.7/akitem-explained.md)
{% endhint %}

### Flashlight Battery Pickup Example (Without Examine System)

{% hint style="info" %}

1. Tag: **InteractiveObject**
2. Component 1: **Box Collider**
3. Component 2: **AK Item** Script
   1. Set to: **Flashlight Sys**
4. Component 3: **Flashlight Item** Script
   1. Set to: **Battery**
      {% endhint %}

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

### Flashlight Battery Pickup Examine (With Examine System)

{% hint style="info" %}

1. Tag: **InteractiveObject**
2. Component 1: **Box Collider**
3. Component 2: **AK Item** Script
   1. Set to: **Flashlight Sys**
4. Component 3: **Flashlight Item** Script
   1. Set to: **Battery**
5. Component 4: **ExaminableItem** Script
   {% endhint %}

<figure><img src="/files/sKifM3ZAdjrCVbpxR3vV" 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-doc-v1.7/setting-up-interactive-objects.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.
