# Door Customisation

{% hint style="info" %}
This will explain the elements of the Door Interactable script so you can be better how to use and customise it
{% endhint %}

<figure><img src="https://540954588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fpn2t9ISWRkG5tw4D8S4w%2Fuploads%2F4dTDV8jYLrksrwMIFQaE%2FDoorInteractableScript_V1.2.JPG?alt=media&#x26;token=3361c7c5-f001-45e8-8daf-991e0604458d" alt=""><figcaption></figcaption></figure>

|                       |                                                                                                                                                                                                                                                                                     |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Interactable Type     | Door / Drawer (Doors can be used for chests and other door types which open on different axis)                                                                                                                                                                                      |
| Door Transform        | Add the door object that will move, as this script could be added to objects other than the door itself                                                                                                                                                                             |
| Door Opening Settings | Choose the Rotation axis, angle, speed and which was a door should open                                                                                                                                                                                                             |
| Sound Delay Settings  | Set the delays for each sound effect, in case you want them to play quicker or slower than the original sound                                                                                                                                                                       |
| Plank Settings        | <ul><li>Choose whether you want to block the door with planks or not. </li><li>Plank count (Make sure to add these to the door object yourself and see instructions for more)</li><li>The text that should appear when trying to open the door if planks are still on top</li></ul> |
| Lock Settings         | <ul><li>Choose whether the door will need a key and should be locked. </li><li>Set the text that will display for locked and unlock states</li><li>Add a door locked sound</li></ul>                                                                                                |
| Unlock Settings       | Remove key after use, add the key scriptable you will need to unlock the door and the unlock sound                                                                                                                                                                                  |
| Spawning Items        | You can spawn items within the drawer and you can check out the page on spawnings items if you wish                                                                                                                                                                                 |
