Trail
Roblox's Trail: a ribbon between Attachment0 and Attachment1 that keeps where they were for Lifetime seconds, with Color, Transparency and WidthScale over each piece's life, MinLength and MaxLength, FaceCamera, a Texture (Stretch, Wrap or Static), LightEmission, LightInfluence and Brightness.
It draws along its parts' CFrame keys, or along a simulation's kept frames when one drives its parts; Luau and a dropped Roblox file set its rows.
Properties
Trail
| Name | Type | Default |
|---|---|---|
| Attachment0 | Attachment? | |
| Attachment1 | Attachment? | |
| Enabled | boolean | true |
Appearance
| Brightness | number | 1 0 to 10000 |
| Color | ColorSequence | [[0.0,1.0,1.0,1.0],[1.0,1.0,1.0,1.0]] |
| FaceCamera | boolean | false |
| LightEmission | number | 0 0 to 1 |
| LightInfluence | number | 0 0 to 1 |
| Transparency | NumberSequence | [[0.0,0.5,0.0],[1.0,0.5,0.0]] |
| WidthScale | NumberSequence | [[0.0,1.0,0.0],[1.0,1.0,0.0]] |
Emission
| Lifetime | number | 2 0 to 20 |
| MaxLength | number | 0 0 to 1e+06 |
| MinLength | number | 0.1 0 to 10000 |
Texture
| Texture | ImageContent? | 1, 1, 1 |
| TextureLength | number | 1 0.001 to 10000 |
| TextureMode | string | Stretch Stretch, Wrap, Static |
