40414243444546474849
Map map = editor.getCurrentMap(); int layerIndex = editor.getCurrentLayerIndex(); int totalLayers = map.getTotalLayers(); if (layerIndex < totalLayers - 1) { map.swapLayerUp(layerIndex); editor.setCurrentLayer(layerIndex + 1); } } }
38394041424344454647
3435363738394041424344
Map map = editor.getMap(); int layerIndex = editor.getCurrentLayerIndex(); int totalLayers = map.getTotalLayers(); if (layerIndex < totalLayers - 1) { map.swapLayerUp(layerIndex); editor.setCurrentLayer(layerIndex + 1); } } @Override