Cursor prototype

Is there a mc prototype out there similiar to this effect, that I could call dynamicly, and set the x, y, speed etc ?