/ / v0.1 / Zone ← Parkoreen
← v0.1 Overview

Overview

A zone is a rectangular region that is invisible during gameplay. In the editor it is shown as a colored semi-transparent rectangle with an optional name label. Zones are used to logically section areas of a map — for example, to indicate a region to script events around using plugins.

By default zones have no collision; the player passes through them freely.

Config options

OptionDefaultDescription
Name(empty)Label shown inside the zone rectangle in the editor. Also used as the identifier when scripting with plugins.
Color#9b59b6The editor border/fill tint color. Not visible during actual gameplay.
Opacity100Opacity of the editor visualization. Does not affect gameplay.
Layer0Draw order in the editor.
CollisionOffIf turned on, the zone rectangle acts as a solid surface.
Zones do not need a name to function. You can use unnamed zones as invisible walls by enabling Collision.