I want to use a button to add and one button to subtract values to a number. When i use touch event it works fine for single presses on the buttons. But if i want it to repeat adding/subtracting values when the buttons is pressed down (long press), how would i go about doing that?
I have one add- and on subtract function, so i was thinking about calling the functions with a timer on the began event, but i guess there most be a much better solution to this. Someone who can help me out?