# Chests & Other Animated Interactions

Here you will learn cool new ways to create chests and other animated interaction objects.  \ <br>

### Animated Decorations.&#x20;

The animated Decoration behaviour in Game Maker allows an asset to display an animation and its also possible to switch to another animation using different kind of triggers.&#x20;

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

Lets show you how you can create a chest with animation to be used in a way as shown above.&#x20;

### Chests

Open up VoxEdit and you will need to go to animator.&#x20;

For a chest you'll want to create:&#x20;

* Bottom half of chest
* Lid of the chest&#x20;
* Inside item for the chest (Optional)&#x20;
* Active 01 (Animation)&#x20;
* Opening 01 (Animation)
* Closing 01 (Animation)
* Idle 01 (Animation)
* Open 01  (Animation)

Watch this video to see how a simple chest with animation is created.&#x20;

{% embed url="<https://youtu.be/JHef1-mC-tE>" %}

### Uses&#x20;

What are the uses of creating animated interactive objects?&#x20;

* Help with quests
* More dynamic gameplay&#x20;
* Create a more real interactive world for players
* Can create more depth to game play. e.g. Try to interact, it doesn't open, find a key, you go back and the chest then opens with a map inside. Player takes the map and then the chest closes.&#x20;

### Keep in mind

Keep in mind collisions. Colliders are defined by the default animation so be sure to test and check how all animations look. You want to avoid players feeling like they could enter the space of the asset they shouldn't be entering.&#x20;

### Mechanisms&#x20;

Door locks, buttons, levers, computer terminals, switches, padlocks etc. Anything that can be used to activate, and deactivate other objects in the game.&#x20;

### Quest Items

Its very common that games give players quests or goals to complete in order to progress. \
Mystical totems to activate, Generators to start, bombs to defuse, broken machines to fix, incantations to dis-enchant. &#x20;

### Interactive Scenery&#x20;

These types of assets don't need to play a main role in the experience gameplay. They would help create or enhance the mood of the experience. \
They can be activated by the player or they can be activated by other events. e.g. Possessed paintings that activate when a player is near them. Curtains that open when the player touches them. Jack in the box. Food machines etc.&#x20;


---

# 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://docs.sandbox.game/en/creator/voxedit/creative-guides/asset-guide/chests-and-other-animated-interactions.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.
