button Control repeat

When I use “On A button repeat“ and hold A then the code runs after a few ms. How to make it so that as soon as you press it starts and the code should loop while the button is hold.

2 Likes

add the “Controller” extension to your project:

and then grab this block from the Controller category and set the button repeat delay to 0:

3 Likes