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

Method has_action

core/input/input_map.cpp:172–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172bool InputMap::has_action(const StringName &p_action) const {
173 return input_map.has(p_action);
174}
175
176String InputMap::get_action_description(const StringName &p_action) const {
177 ERR_FAIL_COND_V_MSG(!input_map.has(p_action), String(), suggest_actions(p_action));

Callers 12

_trigger_action_eventMethod · 0.80
_process_commandMethod · 0.80
is_action_pressedMethod · 0.80
get_action_strengthMethod · 0.80
action_pressMethod · 0.80
action_releaseMethod · 0.80

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected