{{oldin|[[0.6.1]]|061|type=function}}
Returns a 16-bit integer representing the masked categories. 
A set bit means that a collision occurs with members of that category.
== Function ==
=== Synopsis ===
<source lang="lua">
mask = Shape:getMaskBits( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|mask|An integer value representing the mask.}}
== See Also ==
* [[parent::Shape]]
* [[Shape:getMask]]
* [[Shape:setMask]]
[[Category:Functions]]
{{#set:Description=Returns a 16-bit integer representing the masked categories.}}
== Other Languages ==
{{i18n|Shape:getMaskBits}}