ReferenceCustom effectsInterface
MeasuredTarget
An effect's origin and the area its particles spawn from.
Where an effect happens and which area its particles spawn from, as returned by measureTarget().
Properties
Section titled “Properties”areaEmissionShapeThe area particles spawn from, relative to the
origin, for emitFrom(): the element’s whole area, or a single point.originVec2The effect’s origin, for CreateEffectOptions.origin: the target’s center, in page coordinates, or in the canvas’ coordinates if a canvas was given.