TagsCollection

An iterable group of Tags contained on a Level .

🚧

Deprecated. TagsCollection is part of the Levels API and is deprecated in favor of the Floors API. Query floors with UnitMap.floors() instead.

TagsCollection.only([keys])

Get the TagsCollection on the entity that only match the given keys.

Arguments

ArgumentTypeDefault ValueDescription
keysArrayundefinedThe keys to filter by

Returns

An object containing the desired TagsCollection

TagsCollection.except([keys])

Get the TagsCollection on the entity that does not match the given keys.

Arguments

ArgumentTypeDefault ValueDescription
keysArrayundefinedThe keys to filter by

Returns

An object containing the desired Tags exceptions.

TagsCollection.all()

Get all Tags on the entity.

Returns

An object containing all Tags.


What’s Next