Scroll.xposition

int xposition()

Gets the current horizontal scroll position.

Returns

X scroll position