Shape:getMask
Gets which categories this shape should NOT collide with. The number of masked categories is the number of return values.
Contents
Function
Synopsis
... = Shape:getMask( )
Arguments
None.
Returns
number ...
- Numbers from 1-16
Examples
With how many categories does this shape collide?
print('shape collides with', select('#', shape:getMask()), 'categories')