Skip to content

move()

Move the object to a new position.

dropdownlist.move(x, y)

Same as setPosition().

Parameters

dropdownlist.move(x, y)
Parameter Type Default Description
x int or float required The new horizontal position, in pixels.
y int or float required The new vertical position, in pixels.