Mine
public text v1 · immutablefunction scrubit() {
scrubberPercentage = (scrubber.button._x / (Stage.width-scrubber.button._width)) * 100;
scrubberPercentage = Math.round(scrubberPercentage);
moveRatio = Stage.width - contentHolder._width - 50;
contentHolder._x = moveRatio / 100 * scrubberPercentage;
}