Guide 1 Docs 2 Reference 3

Function of Fx

fx.particle

Shows particle name ("dust", "end_rod", "explosion", "firework", "flame", "note", "totem_of_undying") at pos, or at every point of a list. Each point reaches players in the room within 64 blocks of its origin in 3D, including the boundary, before spread or velocity. count (1) at each point in a box spread (0) out; or with velocity, one particle moving along it (speed 1 then, else 0). color and size are for dust only.

fx.particle(name: string, pos: Vec3 | { Vec3 }, opts: { count: number?, spread: (number | Vec3)?, velocity: Vec3?, speed: number?, color: Ink?, size: number?, }?)

Parameters

namestringrequired
posVec3 | { Vec3 }required
opts{ count: number?, spread: (number | Vec3)?, velocity: Vec3?, speed: number?, color: Ink?, size: number?, }optional

Used in