# Animated Object

## Properties

| Name                 | Description                                                                                                                                           |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Switch Only          | If true, this option can only be interacted with via a switch.                                                                                        |
| Animation Component  | A link to an Animation Component containing animations to play.                                                                                       |
| Open Animation Clip  | A link to an Animation Clip to play when changing to the open position.                                                                               |
| Open Audio Clip      | A link to an Audio Clip to play when changing to the open position.                                                                                   |
| Open Audio Profile   | The name of an [Audio Profile](/scriptable-objects/audio-profile.md) containing a link to an Audio Clip to play when changing to the open position.   |
| Close Animation Clip | A link to an Animation Clip to play when changing to the closed position.                                                                             |
| Close Audio Clip     | A link to an Audio Clip to play when changing to the closed position.                                                                                 |
| Close Audio Profile  | The name of an [Audio Profile](/scriptable-objects/audio-profile.md) containing a link to an Audio Clip to play when changing to the closed position. |

## Dependencies

* An Interactable Monobehavior must be on the same GameObject.
* An Animated Object triggers animations on an Animation Component, so an Animation Component is required.  The Animation Component is linked from a [property](#undefined), so it does not need to be on the exact same GameObject as the Animation Object Monobehaviour.


---

# 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.anyrpg.org/monobehaviours/interactable-options/animated-object.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.
