Within the game, Freddy tells you that Roxanne’s eyes are what allow her to see through walls and doors to sense movement, which is also why she is so hot on finding Gregory. You need to take her eyes to upgrade Freddy to escape, and they also help you avoid coming into contact with the other animatronics since you can see them moving through walls.