Simple 2D climbing system

Hi ! Can someone tell me how to create a climbing system with 2D sprites like showed in this video : 2D Climbing/WallSlide/WallJump UE4 - YouTube

I think it’s not so difficult : when the character touches the block, how to create the logic to stay attached on the surface and glide slowly ?
Thanks !