tsParticles - v4.0.0-beta.12
    Preparing search index...

    [[include:Options/Particles/Move.md]]

    interface IMove {
        angle: number | IMoveAngle;
        center: ICenterCoordinates;
        decay: RangeValue;
        direction:
            | number
            | "bottom"
            | "left"
            | "none"
            | "right"
            | "top"
            | "outside"
            | "inside"
            | MoveDirectionAlt
            | MoveDirection
            | "bottomLeft"
            | "bottomRight"
            | "topLeft"
            | "topRight";
        distance: number
        | Partial<IDistance>;
        drift: RangeValue;
        enable: boolean;
        gravity: IMoveGravity;
        outModes:
            | "none"
            | "bounce"
            | "out"
            | "destroy"
            | "split"
            | IOutModes
            | OutMode;
        path: IMovePath;
        random: boolean;
        size: boolean;
        speed: RangeValue;
        spin: ISpin;
        straight: boolean;
        vibrate: boolean;
        warp: boolean;
    }

    Implemented by

    Index

    Properties

    angle: number | IMoveAngle

    The angle value of the particles moving direction, in degrees.

    The center of the particles moving direction. Used when the direction is MoveDirection.inside or MoveDirection.outside, or when spin is enabled.

    decay: RangeValue

    The particles movement decay speed.

    direction:
        | number
        | "bottom"
        | "left"
        | "none"
        | "right"
        | "top"
        | "outside"
        | "inside"
        | MoveDirectionAlt
        | MoveDirection
        | "bottomLeft"
        | "bottomRight"
        | "topLeft"
        | "topRight"

    The particles movement direction, if using a number, it refers to the angle, in degrees.

    distance: number | Partial<IDistance>

    The particles movement distance.

    drift: RangeValue

    The particles movement drift value.

    enable: boolean

    The particles movement enable status.

    gravity: IMoveGravity

    The particles movement gravity options.

    outModes: "none" | "bounce" | "out" | "destroy" | "split" | IOutModes | OutMode

    The particles out modes when leaving canvas bounds.

    path: IMovePath

    The particles path options.

    random: boolean

    Sets if the speed will be randomized or not, maximum value is speed.

    size: boolean

    Sets if the particle speed will change based on the particle size, so bigger particles will move faster.

    speed: RangeValue

    The particles movement speed.

    spin: ISpin

    The particles movement spin options.

    straight: boolean

    Sets if the particles direction will be randomized or not, if true the value won't be randomized.

    vibrate: boolean

    Sets if the particles will vibrate or not.

    warp: boolean

    Sets if the particle will respawn in the same coordinates on the other side of the canvas, or it will be randomized.