Particle Regular Polygon (Expression) — skript-particle

Addon: skript-particle · Category: Expression

Syntax

[a] [(solid|filled)] regular polygon with %number% sides and radius %number%

Description

Creates a regular polygon with the given number of sides and radius. The number of sides must be at least 3. The radius must be greater than 0.

Examples

set {_shape} to a regular polygon with 5 sides and radius 10
set {_shape} to a solid regular polygon with 6 sides and side length 3
draw the shape of a triangle with side length 5 at player

View source