Snapshot of one script/UI touch item in the shared gesture queue.
Syntax
TouchState(id, status, kind, action_order, remaining_repeats, completed_repeats)This class cannot be constructed directly.
Returns
—Example
# TouchState values come from a touch-state query; do not construct them
Touch.collect()
click((300, 900), hold_ms=1000, parallel=True)
Touch.send()
for state in Touch.all():
print(state.id, state.status, state.kind)
Touch.wait()