Sure, but Sunny's (and any beholder's) antimagic cone is not dependant on the direction or movement of the pupil. It radiates outward from the whole eyeball and only moves if the whole body rotates. That's also why ruleswise a beholder can only reorient its antimagic cone once per round.