OnPressed triggers immediately when you press the button.
OnClicked triggers after you pressed and released the button while the mouse cursor is hovering the button. If you press the button then move the mouse outside the button and release, OnClicked won’t trigger.
You can change how OnClicked behaves in the Interaction tab in details panel.
4 Likes