Custom Mouse using Builder

Have a look at my mouse tracking online demo. I’ve also attached a small mouse pointer image. I hide the mouse with document.body.style.cursor=‘none’; and have the following Each Frame code:

[realmousex,realmousey] = mouse.getPos()
mousex = realmousex+7
mousey = realmousey-11
if mouse.isPressedIn(target_dot):
    continueRoutine = False

Where the mouse pointer is set to location [mousex,mousey] each frame. I think in a later version of this I just added transparent background to the mouse pointer image to put the point in the centre so I didn’t need to offset the image.

Mouse_pointer_small