[GAS] How to know if an Ability was just used ?

Hi there,

I’m working on an FPS game and I’m using the GAS to handle the traversal. I’ve created an Ability for each type of movement, Walking, Sprinting, Jumping, Crouching, Sliding and Wall Running. That way it’s easier for me to handle which traversal mechanics can be triggered at a certain time (I don’t want the player to enter Slide from a Wall Run for example).

However I’m facing an issue and I can’t find a proper solution for it.
I want to do a specific Jump here if the player was Wall Running. I want him to jump on the side and not just straight up to give the illusion that the player is jumping from the wall.
My issue is that, if the player wants to exit a Wall Run by Jumping, there’s no way for me when the Jump starts to know if the player was Wall Running in the previous frame.

When the player Jumps, the Jump Ability will cancel the Wall Run Ability (here is a screen of my Jump Ability Tags).

By doing so, when entering the ActivateAbility function inside my Jump Ability, the Wall Run Ability won’t be active anymore.
I’ve seen that when the CanActivateAbility could be a potential fit if the function wasn’t const, since when this function is called the Wall Run Ability is still active. I could have save this information here.

I don’t know how to properly gather this information by using only the GAS. Do you have any idea or suggestions ?

Thanks in advance!