doc/bridge_packages/flame_tiled/layers.md
At its simplest, layers can be retrieved from a Tilemap by invoking:
getLayer<ObjectGroup>("myObjectGroupLayer");
getLayer<ImageLayer>("myImageLayer");
getLayer<TileLayer>("myTileLayer");
getLayer<Group>("myGroupLayer");
These methods will either return the requested layer type or null if it does not exist.
The following Tiled properties are supported:
tile.properties.type (or class starting in Tiled v1.9) accessible at tile.type.Other advanced features are not yet supported, but you can easily read the objects and other features of the TMX and add custom behavior (eg regions for triggers and walking areas, custom animated objects).
You can check a working example here.