Skip to content

getY()

Return the object's vertical position.

point.getY()

Returns

return y

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