is_pressed

Function is_pressed 

Source
pub fn is_pressed(child: impl IntoUiNode, state: impl IntoVar<bool>) -> UiNode
Expand description

P If is_mouse_pressed, is_touched_from_start or is_shortcut_pressed.

Note that is_mouse_pressed and is_touched_from_start do not consider pointer capture, use is_cap_pressed to include the captured state.