Shape:getCategory

Shape:getCategory

Removed in LÖVE 0.8.0
Use Fixture:setCategory instead.


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.

Function

Synopsis

... = Shape:getCategory( )

Arguments

None.

Returns

numbers ...
Numbers from 1-16.

See Also


doc_love
2017-03-21 15:52:56
Comments
Leave a Comment

Please login to continue.