onMouseMove()
Set up a function to call when the mouse moves over this object.
polyline.onMouseMove(action)
Parameters
polyline.onMouseMove(action)
| Parameter | Type | Default | Description |
|---|---|---|---|
action |
function |
required | The function to call; it receives two parameters, x and y, giving the mouse position in display coordinates. |