moving mouse getting function out of node so other nodes can use it
Moved the getMouse function to utility file for use by any other object