Collision Help - Please?

Okay so I’m attempting to make a code that executes something when the cursor collides with a Movieclip called player. I’m having quite some trouble with the syntax, however. No matter how I try to fix the code, there’s always a syntax error involving a missing parenthesis.

addEventListener(Event.ENTER_FRAME, moveCursor);
function moveCursor(event:Event):void{
    cursor.x = mouseX;
    cursor.y = mouseY;
    if(cursor.x >= player.x-player.x/2 and cursor.x <= player.x+player.x/2){
        if(cursor.y >= player.y-player.y/2 and cursor.y >= player.y+player.y/2){