World:getTags

Edit

Returns the list of collision tags that were specified when the World was created. Tags are assigned to colliders using Collider:setTag, and collision can be enabled/disabled for pairs of tags with World:enableCollisionBetween and World:disableCollisionBetween.

tags = World:getTags()

Arguments

None

Returns

NameTypeDescription
tagstable A table of collision tags (strings).

See also