Make Your Own Sliders


I seem to struggle with the Classic theme slider, and even more so with Device Default, not getting a good touch response from the "thumb". Designed my own using a canvas and BallSprite,  so theoretically I can have whatever thumb size I want.

Note: there are "edge cases" with the range values that may produce unexpected results. Best to stick with whole numbers (negatives work as well, so you could have -10 to 10)


The blocks show the creation of two sliders, one in the horizontal and the other in vertical. Default range is set to 0-100. The slider can be any width/height, the maths will take care of the range for you.