Since the Slider Bar object has a very basic and non-customizable look, I made one myself, with two sprites: the "line" (slid_line), and the "button" (slid_btn).
My slid_line is pinned to a popup that goes in and out of the screen (with LiteTween behavior) as I press a button.
I made the slid_btn always stay inside the slid_line using: slid_btn > Set X to > clamp(self.X,slid_line.X,slid_line.X+slid_line.Width).
So when the popup moves, the slid_line moves too because it's pinned to the popup. The popup moves horizontally.
Problem is that the slid_btn do not holds its position inside the slid_line when the slid_line moves with the popup...
How could I make the Button holds its position inside the Line when the line moves? Is it possible?
Thanks in advance!!