Is there a way to take a screenshot everytime the user clicks the mouse, ideally cut it to a 100x100 pixel square w/ the pointer in the middle. And if there is can i please have code for it.

thx