> For the complete documentation index, see [llms.txt](https://codalin.gitbook.io/nodalin-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codalin.gitbook.io/nodalin-docs/nodes-reference/effects/trail.md).

# Trail

<table data-header-hidden><thead><tr><th width="100.764892578125"></th><th></th></tr></thead><tbody><tr><td><img src="https://937151318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F44MuVIHBk5o5yfcGn64w%2Fuploads%2Fu5wvdkjQBesWGHoLqbsp%2Fimage.png?alt=media&amp;token=0b209f0e-afa8-4c56-96c0-2fd6445eb19a" alt="" data-size="original"></td><td>Creates motion trail echoes that persist and fade over time. Adjust decay rate, scale factor, and choose whether trails render in front or behind the source. Works best with animated shapes.</td></tr></tbody></table>

<table><thead><tr><th width="154.65625">Property name</th><th width="405.32421875">Description</th><th>Compatible datatype</th></tr></thead><tbody><tr><td>input</td><td>Input figure to apply trail effect</td><td>figure</td></tr><tr><td>scale</td><td>Scale factor for each trail echo (100% = no scaling)</td><td>number</td></tr><tr><td>decay</td><td>Trail decay rate (0-100%)</td><td>number</td></tr><tr><td>origin</td><td>Custom trail emanation point (overrides <code>worldCenter</code> when connected)</td><td>point</td></tr><tr><td>front</td><td>Render trail in front of input</td><td>boolean</td></tr><tr><td>worldCenter</td><td>Trail from world center (0,0) or shape/group center</td><td>boolean</td></tr><tr><td>translateMode</td><td>Translate mode: echoes shift by a fixed offset without scaling.</td><td>boolean</td></tr><tr><td>translateX</td><td>Per-frame X shift of trail echoes in translate mode (overridden when origin is connected)</td><td>number</td></tr><tr><td>translateY</td><td>Per-frame Y shift of trail echoes in translate mode (overridden when origin is connected)</td><td>number</td></tr></tbody></table>

### Example Projects

There are many example projects using the Trail node, but here's a couple you can check out now.&#x20;

[Disciple Breeder](https://app.nodalin.xyz/project/4571ca43-c9e8-4cb0-82c3-9112484e3665)\
This is a great example of how the `front` and `worldCenter` properties can impact the visual. Feel free to tweak any of those 2 Trail nodes. Turning ***off*** the `worldCenter` creates a camera-tracking effect, while turning it ***on*** produces a more centered/flying-through/tunnel motion.&#x20;

[Rookie Crosshair](https://app.nodalin.xyz/project/d2f56f3e-8326-42f1-9cf5-a812007a0397)\
That's the example project we've used on welcome page and UI overview. Have you seen it running in real-time yet? Couple of Trail nodes are used to create the tunnel and the flames.&#x20;
