Character wont crouch(I have already enabled cancrouch)

I made blueprint:

Now it’s working. Stupid was that function working in every frame.