moveTo Function

Moves the node to the specified position. Returns the handler.

Summary

ElementFunction
ReturnsObject

Arguments

xNumberNew X position of the node.
yNumberNew Y position of the node.

Example

handler.moveTo(120, 80);