Use the mouse on the slider to change the variable. This works on all x and y coordinates, just backpack the sprites. To prove it, press SPACE to put the slider in a random x and y position. You can add or subtract from the "set variable" code to change the starting point of the slider. You can also change the multiplier to a number to change the number range. You can change the slider to look however you want in any project.