Gets the radius of the shape.
== Function ==
=== Synopsis ===
<source lang="lua">
radius = Shape:getRadius()
</source>
From the Box2D manual:
<blockquote>
Polygons inherit a radius from [[Shape]].  The radius creates a skin around the polygon. The skin is used in stacking scenarios to keep polygons slightly separated.  This allows continuous collision to work against the core polygon.
</blockquote>
=== Arguments ===
None.
=== Returns ===
{{param|number|radius|The radius of the shape.}}
== See Also ==
* [[parent::Shape]]
[[Category:Functions]]
{{#set:Description=Gets the radius of the shape.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Shape:getRadius}}