How to switch between blendspaces with a key?

hi, how can i make switch between blendspaces with a keyboard key ? When c is pressed i want my character to go to crouched blendspace and i created the boolean in my character blueprint but i cant find that boolean in transition and i werent able to create boolean in animation blueprint. Any help ? i did a little research in forum but couldnt find a solution.

Use a key to set a variable. That variable is then the transition rule.

Here’s the character blueprint:

Here’s the animation blueprint:

CrouchingON is then the transition rule.

thanks i was able to solve it

That’s great! Be sure to mark it as solved.