Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Tilemaps.Tilemap
currentLayerIndex: number
Description:
The index of the currently selected LayerData object.
Type:
number
Since:
3.0.0
Source:
src/tilemaps/Tilemap.js
(Line
262
)
Possible examples