How to obtain coordinates of pointer on canvas?

How does one obtain the coordinates of the pointer relative to the canvas being hit? For instance, if the canvas in the worldspace is 100x100 and the user points the NRInput pointer towards the bottom right, it should return (100,100). I was wondering how this could be done please? Thank you.

Solution was found.