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

    Parameters

    • levelID: string

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

    Returns void

    Example

    Changes the level to the default name level of LDTK

    goToLevel("level_0");