-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Avoiding input collisions with game logic #1058
Comments
check WantCaptureKeyboard and WantCaptureMouse those will tell you when an imgui widget wants input focus and there are methods to turn it off the next frame for when you want to drag the mouse behind a window. |
Please read the FAQ and the doc in imgui.cpp
|
@ocornut @ratchetfreak I'm stupid. Thanks guys. |
Fixed and working perfectly. ImGui is awesome, @ocornut - thank you for providing an amazing tool. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm sure this is a question that's been answered before, but for some reason I couldn't find anything about it.
I'm currently building a 2d level editor with imgui and I'm having an issue where the game logic is responding to clicks as well as imgui (e.g. clicking on actors through imgui windows).
Is there a way to tell if ImGui has processed any input actions?
The text was updated successfully, but these errors were encountered: