ClassesScrollbarPairblockly.scrollbarpair.setxOn this pageHome > blockly > ScrollbarPair > setX ScrollbarPair.setX() method Set the handle of the horizontal scrollbar to be at a certain position in CSS pixels relative to its parents. Signature: setX(x: number): void; Parameters ParameterTypeDescriptionxnumberHorizontal scroll value. Returns: void