mapeditor/tiled

Expand/collapse layers API

Open

#3,997 opened on Jul 5, 2024

 (9 comments) (0 reactions) (1 assignee)C++ (1,708 forks)batch import
good first issue

Repository metrics

Stars
 (10,413 stars)
PR merge metrics
 (PR metrics pending)

Description

When working with maps with a large number of layers, a scripting API for expanding/collapsing GroupLayer and ObjectGroup would be very helpful.

As @bjorn suggested, this can be done by exposing the Layers and Objects views functions in the MapEditor interface.

Contributor guide