Courses
Community
FAQ
Contact
Login
All Questions
Community
z
Zoidberg zoidbergforpresident
posted to:
Making the character sprint
October 1, 2019 2:48pm
No way to detect a key is currently being pushed?
Instead of just detecting the frame it is pushed? As is if I push sprint in midair, I don't sprint once I'm on the ground.
Nathan Lovato replied
October 1, 2019 3:50pm
Use
Input.is_action_pressed()
inside a function that runs every frame, e.g.
_physics_process