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

# WanMoveTracksFromCoords - ComfyUI Built-in Node Documentation

> The WanMoveTracksFromCoords node creates motion tracks from a JSON-formatted string of coordinates.

The WanMoveTracksFromCoords node creates motion tracks from a JSON-formatted string of coordinates. It converts the coordinate data into a tensor format that can be used by other video processing nodes, and can optionally apply a mask to control the visibility of tracks over time.

## Inputs

| Parameter      | Description                                                                                                                                                                                                                         | Data Type | Required | Range |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ----- |
| `track_coords` | A JSON-formatted string containing the coordinate data for the tracks. The default value is an empty list (`"[]"`). This input is a forced input, so it must be connected in the UI.                                                | STRING    | No       | N/A   |
| `track_mask`   | An optional mask. When provided, the node uses it to determine the visibility of tracks per frame: tracks are visible in frames where the mask contains any nonzero pixel. When not provided, all tracks are visible in all frames. | MASK      | No       | N/A   |

**Note:** The `track_coords` input expects a specific JSON structure. It should be a list of tracks, where each track is a list of frames, and each frame is an object with `x` and `y` coordinates. The number of frames must be consistent across all tracks, and at least one track must be provided.

## Outputs

| Output Name    | Description                                                                                          | Data Type |
| -------------- | ---------------------------------------------------------------------------------------------------- | --------- |
| `tracks`       | The generated track data, containing the path coordinates and visibility information for each track. | TRACKS    |
| `track_length` | The total number of frames in the generated tracks.                                                  | INT       |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/WanMoveTracksFromCoords/en.md)

***

**Source fingerprint (SHA-256):** `125187c96332fa81f0a30bcc4c927f405b56b578638ea565642a2b88dff808b7`
