Difference between revisions of "Shape:getCategory"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
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 ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 15:
 
* [[parent::Shape]]
 
* [[parent::Shape]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Gets the categories this shape is a member of.
 +
}}

Revision as of 16:17, 14 February 2010

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