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

Gets which categories this shape should '''NOT''' collide with.
The number of masked categories is the number of return values.
== Function ==
=== Synopsis ===
<source lang="lua">
... = Shape:getMask( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|...|Numbers from 1-16}}
== Examples ==
=== With how many categories does this shape collide? ===
<source lang="lua">
print('shape collides with', select('#', shape:getMask()), 'categories')
</source>
== See Also ==
* [[parent::Shape]]
* [[Shape:setMask]]
[[Category:Functions]]
{{#set:Description=Gets which categories this shape should '''NOT''' collide with.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Shape:getMask}}