Function zng_wgt_input::is_pointer_pressed
source ยท pub fn is_pointer_pressed(
child: impl UiNode,
state: impl IntoVar<bool>,
) -> impl UiNode
Expand description
P
If is_mouse_pressed
or is_touched_from_start
.
Note that is_mouse_pressed
and is_touched_from_start
do not consider pointer capture, use is_cap_pointer_pressed
to
include the captured state.