| Parameter | Description |
|---|---|
| clickEvent | The action to execute. |
| delay | The initial delay before the action is executed for the first time. Value is defined in milliseconds. |
| interval | The interval between each execution of the action. Value is defined in milliseconds. |
Set the action that should be executed when the button is pressed.