what is the error: error CS1955: The member `UnityEngine.Application.loadedLevel' cannot be used as method or delegate

void OnTriggerEnter2D(Collider2D co) {
if (co.name == “pacman”) {
Application.loadedLevel(“menu”);

See:

You’ll learn that loadLevel is not a function you can call.

You want to use LoadLevel(), loadedLevel returns the index of the current level.