Shape Side Count - Polygonal/Polyhedral (Expression) — skript-particle

Addon: skript-particle · Category: Expression · Since: 1.0.0

Syntax

[the] side(s| count) of %polyshapes%

Description

Returns the number of sides of a polygonal or polyhedral shape. This determines how many sides the shape has. Changing this will change the number of sides of the shape accordingly, with a minimum of 3. Note that custom polygons will return their side count, but will not be affected by this expression. Polyhedrons will return their face count, and can only be set to 4, 8, 12, or 20.

Examples

set sides of {_shape} to 5
set {_shape}'s side count to 6
send sides of {_shape}

View source