Replies: 2 comments 2 replies
-
A button is either pressed or not pressed. But if "hold" is introduced, "just pressed" is usually not "held". So to get the current "is_action_pressed", you would need to check both pressed and held. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I would expect |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Makes the code more readable. Had a few people talking about it in discord and it really would just make more sense. I'm unsure why it wasn't this from the get-go.
I can understand how some names would be too unwieldy if we didn't keep them short and just descriptive enough to understand. But in this case is_action_held would just make complete sense and it even saves you some letters.
Beta Was this translation helpful? Give feedback.
All reactions