getLayerIndex(name) → {number}
Gets the layer index based on its name.
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the layer to get. |
Returns
number -
The index of the layer in this tilemap, or null if not found.
- Source code: tilemap/Tilemap.js (Line 740)
Please login to continue.