Switches the current active level to the provided level, levels must be made in LDTK

Changes the level to the default name level of LDTK

goToLevel("level_0");
  • Parameters

    • levelID: string

      A string of the ID of the level as defined in LDTK

    Returns void