Script UI Hololens pointer change color

UI and Hololens

So with working on the Voxel editor, I need a couple of UI elements. So I have had to look at using a canvas in World Space. The elements I need are 1) a Keyboard, and 2) a Color Picker. The Color picker is so that I can change the RGB values of all the voxels which can be placed. The Keyboard for being able to enter a filename and also to be able to enter RGB values directly.

I found a good or simple to use Color Picker for the Canvas, added it and ran the app. Things start well, air tapping, will allow the color to be selected and change the RGB Values. But there are issues. The main one, being when moving your head and where you are looking at, you cannot accurately see the location on the Canvas.

So first thing was to create a simple pointer, add it to the canvas, then create a small script that would detected if the current gaze position was on the canvas object I wanted to check.