Shape:getCategory( )
Gets the categories this shape is a member of.
The number of categories the shape is a member of is the number of return values.
Categories are used for allowing/disallowing certain collision.
Synopsis
... = Shape:getCategory( )
Returns
... |
numbers |
Numbers from 1-16. |