How to Make a Tutorial Scene in a Platformer

Hey all! I’m wondering how to display a tutorial pop-up when the player walks past a certain point. Such as floating text which says “Press Space to Jump.”

I imagine this would require a Trigger collider and an onTriggerEnter script, but I don’t know what to exactly code, and any attempts to look it up give me incorrect results.

Any help is appreciated, thanks! :slight_smile:

void onTriggerEnter2D(Collider2D collision){
             if (collision.compareTag("[Whatever the certain point is tagged with]")
              {
                text.gameObject.SetActive;
              }
} 

I may be wrong because I did not use my code for my game, I just wrote this from the top of my head. But it should be something like this.