MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / is_ctrl_pressed

Method is_ctrl_pressed

core/input/input_event.cpp:220–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220bool InputEventWithModifiers::is_ctrl_pressed() const {
221 return ctrl_pressed;
222}
223
224void InputEventWithModifiers::set_meta_pressed(bool p_enabled) {
225 ERR_FAIL_COND_MSG(command_or_control_autoremap, "Command or Control autoremapping is enabled, cannot set Meta directly!");

Callers 12

forward_3d_gui_inputMethod · 0.45
accumulateMethod · 0.45
_gui_input_moveMethod · 0.45
gui_inputMethod · 0.45
_sheet_scroll_inputMethod · 0.45
_frame_list_gui_inputMethod · 0.45
forward_gui_inputMethod · 0.45
_get_key_modifierFunction · 0.45
_set_node_sizeMethod · 0.45
_set_eventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected