{{newin|[[0.8.0]]|080|type=shape}}
A ChainShape consists of multiple line segments. It can be used to create the boundaries of your terrain. The shape does not have volume and can only collide with [[PolygonShape]] and [[CircleShape]].

Unlike the [[PolygonShape]], the ChainShape does not have a vertices limit or has to form a convex shape, but self intersections are not supported.

== Constructors ==
{{#ask: [[Category:Functions]] [[Constructs::ChainShape]] [[Concept:Current]]
| headers=hide
| default=None.
| format=template
| template=ListingFields
| introtemplate=ListingIntro
| outrotemplate=ListingOutro
| ?Description
| ?PrettySince
| ?PrettyRemoved
}}
== Functions ==
{{#ask: [[Category:Functions]] [[parent::ChainShape||Shape||Object]] [[Concept:Current]]
| headers=hide
| format=template
| template=ListingFields
| introtemplate=ListingIntro
| outrotemplate=ListingOutro
| ?Description
| ?PrettySince
| ?PrettyRemoved
}}
== Supertypes ==
* [[parent::Shape]]
* [[parent::Object]]
== See Also ==
* [[love.physics]]
[[Category:Types]]
{{#set:Description=A ChainShape consists of multiple line segments.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|ChainShape}}