> For the complete documentation index, see [llms.txt](https://speedtutoruk.gitbook.io/door-interaction-kit-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://speedtutoruk.gitbook.io/door-interaction-kit-doc/getting-started/how-to-add-planks.md).

# How To Add Planks

### Door Setup with Planks

<figure><img src="/files/xkj4SdooJUucA91UZXEf" alt="" width="296"><figcaption></figcaption></figure>

{% hint style="info" %}

1. Start by adding Wooden Planks models over your door (As above)
2. Click on your door and find the **DoorInteractable** script -&#x20;
   1. Find the Plank settings and enable this by checking **ShowPlankSettings**
   2. Set the **Plank Count** to anything higher than 0 to have this active
   3. Set the **DoorPlankedText** - Add the text that you want to display when clicking on the door as a notification prompt
      {% endhint %}

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

### Individual Plank Setup

{% hint style="info" %}

1. Make sure the plank GameObject has these settings:
   1. **Box Collider**
   2. **InteractablePrompt** script (Optional Component)
2. **Plank Interactable** script:&#x20;
   1. **RemovePlankSound:** Add a remove plank sound
   2. **OnPlankRemove Event:** This should be attached to your door object that has the plank settings. Press the + icon to add the event, drag your door into this slot and find the DoorInteractable script and attach the RemovePlank() method.
      {% endhint %}

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

### Plank Example Setup

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://speedtutoruk.gitbook.io/door-interaction-kit-doc/getting-started/how-to-add-planks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
