Get X position of cursor
[<<<]
[>>>]
XCoord = getx()
Get the X coordinate of cursor position.
[<<<]
[>>>]