Yes, but I am looking more for the process of turning this simple JS into a widget.
I've changed the event trigger from mouse-move to click and want that to be the entire functionality of the widget.
The existing coordinate widget is way more than I need.