Skip to content

Cannot iterate over all_tilesets property #36

@47rooks

Description

@47rooks

ldtk version : git version as at 22d7ee2 Jan 22, 2024

I cannot find out how to iterate the list array of tilesets. The way the macro processing works I end up with _ldtkProject.all_tilesets.Shell0 but no iteration ability. This means that when I'm trying to write a general helper function it's tied to this specific project or I have to extract the tileset id in project specific code and pass it to the helper function.

Is there any way around this or could iterators be added to these objects ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions