+1 vote


Obviously Godot has support for modifier keys. But is there a built-in way of combining or comparing two different InputEvents to produce a different result, or do I have to do things the normal way and add an intermediary step to check for each?

in Engine by (13 points)

Could you be more specific on what you want to achieve? AFAIK pressing Shift + K won't produce two InputEvents, but it will generate an InputEvent for the key K with the modifier shift set to true: http://docs.godotengine.org/en/latest/classes/class_inputeventkey.html

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.