> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# WanMoveTracksFromCoords - ComfyUI Built-in Node Documentation

> Complete documentation for the WanMoveTracksFromCoords node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/WanMoveTracksFromCoords/zh.md)

WanMoveTracksFromCoords 节点根据一系列坐标点创建一组运动轨迹。它将 JSON 格式的坐标字符串转换为可供其他视频处理节点使用的张量格式，并可选择性地应用遮罩来控制轨迹随时间的可见性。

## 输入参数

| 参数             | 数据类型   | 必需 | 范围  | 描述                                     |
| -------------- | ------ | -- | --- | -------------------------------------- |
| `track_coords` | STRING | 是  | N/A | 包含轨迹坐标数据的 JSON 格式字符串。默认值为空列表 (`"[]"`)。 |
| `track_mask`   | MASK   | 否  | N/A | 可选的遮罩。当提供时，节点将使用它来确定每帧中每条轨迹的可见性。       |

**注意：** `track_coords` 输入需要特定的 JSON 结构。它应该是一个轨迹列表，其中每条轨迹是一个帧列表，每一帧是一个包含 `x` 和 `y` 坐标的对象。所有轨迹的帧数必须保持一致。

## 输出

| 输出名称           | 数据类型   | 描述                         |
| -------------- | ------ | -------------------------- |
| `tracks`       | TRACKS | 生成的轨迹数据，包含每条轨迹的路径坐标和可见性信息。 |
| `track_length` | INT    | 生成轨迹的总帧数。                  |
