# TLO:Spawn

## Description

Object used to get information on a specific spawn. Uses the filters under [Spawn Search](/macroquest/general-information/spawn-search.md).

## Forms

|                                                                                                                |                                     |
| -------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [*spawn*](/macroquest/data-types-and-top-level-objects/data-types/datatype-spawn.md) **Spawn\[**#**]**         | Spawn matching ID #                 |
| [*spawn*](/macroquest/data-types-and-top-level-objects/data-types/datatype-spawn.md) **Spawn\[search string]** | Any spawns matching *search string* |

## Access to Types

* [*spawn*](/macroquest/data-types-and-top-level-objects/data-types/datatype-spawn.md) **spawn**

## Examples

`/echo ${Spawn[1000]}`

Displays the name of the spawn with id number 1000.

`/target ${Spawn[npc radius 500 trakanon]}`

Targets the npc with the name Trakanon only if within a radius of 500.

## See Also

* [Top-Level Objects](/macroquest/data-types-and-top-level-objects/top-level-objects.md)
* [spawn](/macroquest/data-types-and-top-level-objects/data-types/datatype-spawn.md)
* [Spawn Search](/macroquest/general-information/spawn-search.md)


---

# 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://macroquest.gitbook.io/macroquest/data-types-and-top-level-objects/top-level-objects/tlo-spawn.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.
