melonJS
    Preparing search index...

    Function getCurrentLevel

    • return the current level definition. for a reference to the live instantiated level, rather use the container in which it was loaded (e.g. app.world)

      Returns GLTFScene | TMXTileMap

      the current level object (a TMXTileMap for Tiled maps, a GLTFScene for glTF/GLB scenes)

      getCurrentLevel

      level