Implement new actions to the method <getMousePosition>