onTriggerEnter2D not working

Hi i am making a 2D platformer game and in this I am trying to implement a checkpoint system but for some reason i cant seem to get my ontiggerenter2d to trigger. I have checked multiple times that the object that I am colliding with is a trigger and I really can’t figure out why it isn’t working.

This is my code:

I would appreciate any help possible. Thanks in advance.

Because C# is case-sensitive and all Unity methods start with a capital letter. In other words…

void OnTriggerEnter(....

void OnTriggerEnter(…)

Always checked the first letter when you are writing a method.