• Moves a lightning.

    Parameters

    • whichBolt: HandleHolder<"lightning">

      The lightning to be moved.

    • checkVisibility: boolean

      If this is true, the lightning won't be moved (at all) unless the local player currently has visibility of at least one of the new endpoints.

    • x1: number

      x-coordinate (World) of the new source point.

    • y1: number

      y-coordinate (World) of the new source point.

    • z1: number

      z-coordinate (World) of the new source point.

    • x2: number

      x-coordinate (World) of the new target point.

    • y2: number

      y-coordinate (World) of the new target point.

    • z2: number

      z-coordinate (World) of the new target point.

    Returns boolean

Generated using TypeDoc