The button on the mobile screen, I can not get the character to crouched down(blend)

Hi everyone. My name is Tomas. Forgive my English, I don’t speak it. I would hope that you could help me with these questions.
From the laptop keyboard, the character is crouching without problem, but with the button on the mobile screen, I can not get the character to squat.
Have a good day.
Thank you.

Sounds like you wrote a bug… and that means… time to start debugging!

By debugging you can find out exactly what your program is doing so you can fix it.

Use the above techniques to get the information you need in order to reason about what the problem is.

You can also use Debug.Log(...); statements to find out if any of your code is even running. Don’t assume it is.

Once you understand what the problem is, you may begin to reason about a solution to the problem.