Difference between revisions of "Shape:setMask"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | Sets which categories this shape should collide with. | |
+ | With this function, you can exclude certain shape categories from collisions with this shape. The categories passed as parameters will be excluded from collisions - all others included. | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 13: | Line 14: | ||
* [[parent::Shape]] | * [[parent::Shape]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Sets which categories this shape should collide with. |
+ | }} |
Revision as of 16:17, 14 February 2010
Sets which categories this shape should collide with. With this function, you can exclude certain shape categories from collisions with this shape. The categories passed as parameters will be excluded from collisions - all others included.
Function
Synopsis
Shape:setMask( ... )
Arguments
numbers ...
- Numbers from 1-16.
Returns
Nothing.