Base class for keys events with modifiers.
Contains keys events information with modifiers support like [kbd]Shift[/kbd] or [kbd]Alt[/kbd]. See [method Node._input].
https://docs.godotengine.org/en/latest/tutorials/inputs/inputevent.html
State of the [kbd]Alt[/kbd] modifier.
State of the [kbd]Cmd[/kbd] modifier.
State of the [kbd]Ctrl[/kbd] modifier.
State of the [kbd]Meta[/kbd] modifier.
State of the [kbd]Shift[/kbd] modifier.
If [code]true[/code], pressing [kbd]Cmd[/kbd] on macOS or [kbd]Ctrl[/kbd] on all other platforms will both be serialized as [member command_pressed]. If [code]false[/code], those same keys will be serialized as [member meta_pressed] on macOS and [member ctrl_pressed] on all other platforms.
This aids with cross-platform compatibility when developing e.g. on Windows for macOS, or vice-versa.