Type Alias TargetOpts

TargetOpts: {
    diminishBy?: number;
    range?: Point;
}

Type declaration

  • Optional ReadonlydiminishBy?: number

    Acceleration scaling. Defaults to 0.001

  • Optional Readonlyrange?: Point

    If distance is less than this range, don't move. If undefined (default), will try to get an exact position