Skip to content
party.js logoparty.js logo

ReferenceCustom effectsType

EmissionShape

An area that particles spawn from.

type EmissionShape = DiskEmissionShape | RectEmissionShape;

An area that particles spawn from, for use with emitFrom().

Positions are in particle space, i.e. in pixels from the effect’s origin, with +y pointing upwards.