[UI4.6] Canvas button-OnPress instead of default OnClick?

Is it possible to assign an OnPress handler to a Canvas button? Or do you need to create your own using an image?

The way to use an Trigger other than OnClick is to add an “EventTrigger” script to your button. In the Event Trigger are many different trigger types including PointerDown and PointerUp. You can set these events to run your own scripts the exact same way that you would with the OnClick event.

At the moment there are bugs using PointerDown and PointerUp on mobile, so please keep that in mind.