Function to get mouse pos