Use of a button

Hello, I would like to remove 1 from a variable as long as the button is pushed so I tried this but it doesn’t work.

Thank you for your help.

So what is happening?

I have the impression that it loops indefinitely because the companion application stops working.

Are you using a progress bar ?

yes, i use a progress bar

This works with a slider

I didn’t quite understand what timer always fires is for.

could you send me the aia, please?

ah it’s good, I had misunderstood the functioning of button.touch down.
Thank you very much.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.