Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / Trail

Function: Trail() โ€‹

Trail(color, target, duration): ParticleOptionsValue

Defined in: core/values/particle.ts:74

A particle that flies from where it spawns to target over duration ticks (1.21.4+). target can be a macro arg such as an entity's Pos.

Parameters โ€‹

color โ€‹

number

target โ€‹

CommandValue | readonly [number, number, number]

duration โ€‹

number

Returns โ€‹

ParticleOptionsValue

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.