On Button Hold

The On Button Hold trigger activates repeatedly while a TextMeshPro Button is being held down.

Inside the Trigger

Game Object A reference to the GameObject containing the Button component.

By default, this is set to Self, meaning the trigger will monitor a button on the same GameObject it’s attached to.

Delay Time in seconds between each execution while the button is held down.

For example, setting a Delay of 0.2 will execute the instructions every 0.2 seconds as long as the button remains pressed.

Last updated