Input::KeyNumFramesHeldDownSyntaxint Input::KeyNumFramesHeldDown(KeyCode keyCode);Returns the number of frames the given key code has been held down. Don't call if the given key is not being held down! I.e. call [IsKeyDown()] to check first. If the given key is not currently held down, returns 0.
Leave a Comment |