Collider:getTag
EditReturns the Collider's tag.
tag = Collider:getTag()
Arguments
None
Returns
Name | Type | Description |
tag | string | The Collider's collision tag. |
Notes
Collision between tags can be enabled and disabled using World:enableCollisionBetween
and World:disableCollisionBetween
.
See also
World:disableCollisionBetween
World:enableCollisionBetween
World:isCollisionEnabledBetween
lovr.physics.newWorld
Collider:setTag
Collider