# FSM AI/Item Prefab

{% hint style="info" %}
Assign your AI or Item Prefab to be instantiate
{% endhint %}

{% hint style="info" %}
Remember: the AI or item must not be destroyed check if it destroys it in your code
{% endhint %}

## **Type Spawner:**

**FSM AI**

Just add the Group AI

How to Create a Group?:

{% content-ref url="/pages/mziXHdXUL4QrjaMbGe4M" %}
[Create Group AI](/advanced-ai-spawn-system/advanced-ai-spawn-system/create-group-ai.md)
{% endcontent-ref %}

![](/files/9ysBBdVwgUB8ilGgzUL0)

**Invector Item**

Add the list of items&#x20;

Press the button add item , to add the items to generat&#x65;**.**

You also have an event for when the item is spawned

![](/files/J61UlnKqvKpEwyZKxSRG)


---

# 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://denvzla-estudio.gitbook.io/advanced-ai-spawn-system/integrations/fsm-ai-and-invector-item/spawner-settings/fsm-ai-item-prefab.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.
