Trigger Not working

Hi,
I am trying to get the Zelda room camera transfer. I have a player that is tagged as such. It has a rigidbody and a box collider. I made an empty object and it has the istrigger clicked. It has a box collider also. I made a script that I think should be working, but it isn’t. Here are some screenshots to get the ball rolling. Thank you for any help.



When I turn off isTrigger, the player gets stopped by it.

It’s not working because the function is supposed to be OnTriggerEnter2D not OnTriggerEnter2d. Capitalisation matters.