World Border Center (Expression) — Skript

Addon: Skript · Category: Expression

Syntax

[the] [world border] center of %worldborders/instances%

Description

The center of a world border. A world border only stores an x and a z, so the y of this point is always 0 and the y of a point it is set to is ignored. Resetting it moves the center back to 0, 0.

Examples

set center of world border of {_instance} to {_spawn}
set {_center} to center of {_instance}'s world border

View source