{{newin|[[0.9.0]]|090|type=function}}
Validates whether the PolygonShape is convex. Concave PolygonShapes cannot be used in [[love.physics]].
== Function ==
=== Synopsis ===
<source lang="lua">
convex = PolygonShape:validate()
</source>
=== Arguments ===
None.
=== Returns ===
{{param|boolean|convex|Whether the PolygonShape is convex.}}
== See Also ==
* [[parent::PolygonShape]]
[[Category:Functions]]
{{#set:Description=Validates whether the PolygonShape is convex.}}
== Other Languages ==
{{i18n|PolygonShape:validate}}