Is there a way to make my character unable to fly?

I am making a PT styled indie horror game, but i don’t want my character to be able to fly. Is there a way for the character unable to fly?

What do you mean? All characters are unable to fly by default

When I play, when I look up and press W, my character goes straight up. Ismthere a way to make it only be able to move forward right left and hackwards, not up and down?

Thanks,
Ben

you are adding to its Z of movement component. check your graphs