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

Method is_pressed

core/input/input_event.cpp:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87bool InputEvent::is_pressed() const {
88 return pressed && !canceled;
89}
90
91bool InputEvent::is_released() const {
92 return !pressed && !canceled;

Callers 7

action_matchMethod · 0.45
accumulateMethod · 0.45
encode_input_event_keyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected