Shape:setMask

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.

See Also