{{oldin|[[0.8.0]]|080|type=function|text=Use [[Fixture:getCategory]] instead}}

Gets the categories as a 16-bit integer. 
A set bit indicates membership of that category.
== Function ==
=== Synopsis ===
<source lang="lua">
An = Shape:getCategoryBits( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|An|Integer value representing the categories.}}
== See Also ==
* [[parent::Shape]]
[[Category:Functions]]
{{#set:Description=Gets the categories as a 16-bit integer. }}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Shape:getCategoryBits}}