control pc mouse using arudino + photoresistors?

hey i’m new to the microprocessor programming and everything and i just got the arduino and i’m pretty hyped. i was wondering if it was possible to control the mouse of a pc mouse using an arduino and photoresistors without buying any extra products since i don’t have money. for example, if i move my hands around the photoresistors, the mouse should move depending the the analog read of the photoresistor.? what kind of library do i need to do this?

please help

Somehow I think I answered this question somewhere else.

DO NOT multipost. Or people will get annoyed with you and not help you.