Difference between revisions of "Fixture:getCategory"

(Added Fixture:getCategory.)
 
Line 16: Line 16:
 
* [[Fixture:setCategory]]
 
* [[Fixture:setCategory]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns the points of the fixture bounding box.}}
+
{{#set:Description=Returns the categories the fixture belongs to.}}
 
{{#set:Since=080}}
 
{{#set:Since=080}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Fixture:getCategory}}
 
{{i18n|Fixture:getCategory}}

Revision as of 22:09, 10 April 2012

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Returns the categories the fixture belongs to.

Function

Synopsis

category1, category2, ... = Fixture:getCategory( )

Arguments

None.

Returns

number category1
The first category.
number category2
The second category.

See Also


Other Languages