> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/unreal-engine/guides/actions-guide/stage-1-default-actions/follows.md). Agents can also search and read this documentation through its [MCP server](https://docs.convai.com/api-docs/~gitbook/mcp).

# 跟随

此动作使 Convai 角色能够跟随其环境中存在的角色/对象/玩家

### 1. 将 follow 用于环境中的其他 Convai 角色或玩家。

* 走近一个 Convai 角色，并让它跟随其他 Convai 角色或 Convai 玩家。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FmCGDOCAsmYKnAdrS1ShU%2Fimage.png?alt=media&amp;token=42568880-c295-4da8-96a8-f75260df359c" alt=""><figcaption></figcaption></figure>

* 接着开始四处移动，你会发现 Convai 角色开始跟随你。

### 2. 将 follow 用于环境中的其他角色/对象。

* 按照此 [指南，添加对该对象或角色的引用。](https://docs.convai.com/pages/2b4d777d77138e7f75c2442e27277d784c458257#2.-use-moves-to-with-other-objects-present-in-environment.)
* 让角色跟随已添加到环境中的角色/对象。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FM8Fy6oPfIAJcUDKgRJ6E%2Fimage.png?alt=media&amp;token=2d57748f-8d76-498b-80e7-824f78a6cb5e" alt=""><figcaption><p>Convai 角色开始跟随立方体。</p></figcaption></figure>

* 即使更改对象的位置（此处为立方体），Convai 角色仍会跟随立方体。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/unreal-engine/guides/actions-guide/stage-1-default-actions/follows.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
