Can i switch “CanCrouch” bool value in cpp?

Can i switch “CanCrouch” bool value in cpp?

You either need to implement it as a variable in the header

UPROPERTY()
bool CanCrouch;

Or you can change it from within a BlueprintImplementableEvent if the bool must stay in bp form. (you would need to pass in a bool parameter that would drive CanCrouch from within blueprints)