Ladder Climb Mechanic Help

Sooooo i decided yesterday I wanted to make a game with absolutely no coding knowledge or experience so please go easy on me and explain it like im 5 lol.
The tutorial i was following did not show how to make a climbable ladder so i thought i could just figure it out myself by using another video. I'm not getting any error with the code but it's not working and i can't pinpoint why. Is it because the ladder is a TileMap layer? Would anyone be able to help?

https://preview.redd.it/hf2n81b6r0ie1.png?width=482&format=png&auto=webp&s=f8c8ada074973ef404c443c4eb9d12e5eaf322df

("climb" is the action i bound to the up key and "drop" is the action I bound to the down key)

https://preview.redd.it/dfklavoer0ie1.png?width=447&format=png&auto=webp&s=3feda882f33829c65c69c1e846ec5128b33cfd60