{{oldin|[[0.8.0]]|080|type=function}}
Gets the density of the Shape.
== Function ==
=== Synopsis ===
<source lang="lua">
density = Shape:getDensity( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|density|The density of the Shape.}}
== See Also ==
* [[parent::Shape]]
[[Category:Functions]]
{{#set:Description=Gets the density of the Shape.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Shape:getDensity}}