HeatMaps of Mouse Movement in Orbit

Hi everyone,
I wanted to know is there a way to generate Heatmaps of mouse movements in Orbit. I am able to extract mouse coordinates but don’t know how can I achieve this goal.

Kind regards,
Ayesha