Region Points (Expression) — skript-worldguard

Addon: skript-worldguard · Category: Expression · Since: 1.0

Syntax

[the] (min|max)[imum] point[s] of %worldguardregions%

Description

An expression to obtain the points of a region. Note that when obtaining the points of a region, the region itself is projected onto an X-Z plane. Thus, the points do not have a y-component. However, for simplicity, the y-component of the minimum point is used.

Examples

command /highlight-points <text>:
	trigger:
		set the blocks at the points of the region text-argument to red wool

View source