Star Radii (Expression) — skript-particle

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

Syntax

[the] (inner|outer) radius of %shapes%

Description

Returns the inner or outer radius of a star. The inner radius is the distance from the center of the star to the innermost points, and likewise the outer radius is the distance to the tips of the star. Changing this will change the size of the star. Both radii must be greater than 0.

Examples

set {_star} to a star with 5 points, inner radius 1, and outer radius 2
set {_star}'s inner radius to 2
set {_star}'s outer radius to 3

View source