Difference between revisions of "Shape:setCategory"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Sets the categories this shape is a member of.
 +
Sets the categories of this shape by specifying numbers from 1-16 as parameters.
 +
Categories can be used to prevent certain shapes from colliding.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 15:
 
* [[parent::Shape]]
 
* [[parent::Shape]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets the categories this shape is a member of.
 +
}}

Revision as of 16:17, 14 February 2010

Sets the categories this shape is a member of. Sets the categories of this shape by specifying numbers from 1-16 as parameters. Categories can be used to prevent certain shapes from colliding.

Function

Synopsis

Shape:setCategory( ... )

Arguments

numbers ...
Numbers from 1-16

Returns

Nothing.

See Also