How to Make a Magnetic Field Sensor Calibration Button

Wanting to create a Magnetic Field Sensor app with calibration control. Essentially you hold down on the Lottie Animation (Long click) and it would update the number value as seen in the pic below. For example, you can see how its currently at a value 20, but basically, I want every time that’s clicked to go up. So the next value would be 21 and so on… How can this be done?

blocks