Not sure if this is exactly what you're after. but:
To make the angle of the player point towards something you can do this: Set angle > angle(player.x,player.y,desiredangle.x,desiredangle.y). To make it go in the opposite direction, simply swap the places of the player.X/Y with the desiredangle.X/Y.
So: angle(desiredangle.x,desiredangle.y,player.x,player.y)