Specifies how many sides a regular polygon has.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the polySides [of graphic] to numberOfSides
# Examples
set the polySides to 3 -- to make triangles
set the polySides of graphic "Hex" to 6 -- hexagon
# Description
Use the polySides property to change the appearance of polygons.
The global setting of the polySides property controls the appearance of polygons drawn with the paint tools. Once a paint polygon is drawn, its appearance can no longer be changed by changing the global polySides property.
# Tags
ui,
# See
- **keyword:** graphic, polygon, integer - **property:** style, slices - **command:** global, choose - **object:** graphic - **glossary:** property, polygon, appearance, paint tool, regular polygon