New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is_action_just_released happens twice in _gui_input() #89812
Comments
You shouldn't use |
Based on your description I have tried to replicate the issue, but I was unable to do so. For me "released" is printed only once. So there seem to be additional setup steps necessary to recreate this behavior. Please provide a minimal reproduction project. |
Sounds like pressing or releasing two different actions on the same frame, would be good to see if the problem is solved by using the correct methods |
The action is not released twice, |
Releasing the mouse button when moving your mouse reproduces the behavior 😝 Added a
What you actually want is to check whether |
it does work the intended way. i will try to do MRP today when i'll have free time. |
For what? Does it not work when you use the correct code? You said "it does work"? |
Tested versions
v4.2.stable.official [46dc277] checked only
System information
windows 7 v4.2.stable Compatable rendering
Issue description
i want to clarify that nothing like that happens in
is_action_just_pressed()
andis_action_pressed()
. is it ok? maybe i need to do it byif event.is_action("Click") and Input.is_action_just_pressed("Click"):
and it works but its seems like a bug neverless.Steps to reproduce
(with click being left mouse button) and look at console after clicking a mouse once.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: