onPressed

A mouse click was executed or a touch screen was briefly touched.

Origin: Control

onPressed 1:

Available from 1.8