Skip to content

getX()

Return the object's horizontal position.

hfader.getX()

Returns

return x

Value Type Description
x int or float The horizontal position of the top-left corner, in pixels.