How to jump from the ceiling

Do you have a bool which indicated if you’re on the ceiling or not? You could make a branch and use that bool to decide if you’re doing a normal jump or the downwards launch. So if you press space you check if you’re on the ceiling, if you are launch down, if not, if you’re on the ground, jump normally with the built in jump, otherwise do nothing because you’re in the air, right? Let me know if that’s a problematic approach of if I’ve been too vague. I can provide a screenshot of how I’d do it if you are confused, just not at the moment unfortunately.