Skip to content

showMouseCoordinates()

Show the mouse position in the display's tooltip as the mouse moves.

Handy while building a GUI, for finding the coordinates to place widgets at.

Parameters

Once an object display has been created, you can use the following function:

display.showMouseCoordinates()