# Actors

Actors are fundamental objects that can be placed in your game world and interact with other actors. An object that has a physical presence or in some way could be represented by an actor which you as a programmer has full control over. This could be the player's character or objects with which the player can interact.

You can write code for your own actors using a Typescript class. These actor classes will then be available as assets that you can instantiate and put in your scene in the editor. You can also spawn actors dynamically during gameplay.


---

# 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.hology.app/gameplay/actors.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.
