I am trying to create a slider that moves freely. i have created a slider with 5 stops (speeds). I have to drag to each stop in order, but i would like to be able to click and select the speed.
For example, i would like to click on speed 2 then be able to jump to speed 5 by either dragging to or clicking on the 5.
Any ideas?
You can utilize the drag interaction to create draggable elements. The only drawback I find is that you only can drag it one step at a time, because the drag interaction only can point to one end frame. I haven’t found any way to circumvent this.
Use click interactions together with smart animate for the steps to make the slider move smoothly to the clicked step.
Here’s an example (you can open it and inspect the design):
Hi,
I would also like to know if there is a solution for this.
I would like to design a slider that moves freely, which corresponds to an asset growing/shrinking in size as the slider moves freely left and right.
Thanks.
Does anyone know how the numbers were done to change with the slider in the green and yellow “Change meter” example in this file?
You mean this one?
The number is a variable that is updated when clicking the buttons. The variable is then inserted in a text element.