Wall sticking not working as intended

Godot Version



I’m having a problem with wall sticking where when you jump onto the wall you are unable to move off of the wall and you are just stuck there. When i make is_sticking_to_wall = false is automatically become true again making you unable to move.

Hello, what is your code?