You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I imagine existing scripts that use this are more likely to be following the docs and using isCollection - if anyone had run into this issue before, they probably would've opened an issue. Plus, isCollection is consistent with isTileset, isTileMap, etc.
The name of the field for the JS side is defined here, and seems to only be used in this one line, so this is probably the easiest place to fix it.
Describe the bug
Tileset.isCollection
returns nothing butTileset.collection
returns true or false.https://www.mapeditor.org/docs/scripting/classes/Tileset.html#isCollection
To Reproduce
Steps to reproduce the behavior:
tiled.activeAsset.isCollection
alternatively:
tiled.activeAsset.collection
true
orfalse
Expected behavior
Tileset.isCollection
should returntrue
orfalse
, or API doc should be updated toTileset.collection
Media
Specifications:
The text was updated successfully, but these errors were encountered: