Last Imagine

The caster touches a corpse that still has at least one of its eyes partially intact. This spell causes the eye to project a still image of whatever the last thing the corpse saw, as well as providing a brief image of the cause of death. If the target died due to a gaze attack, the caster is treated as having been struck by the gaze as well, though they have advantage on the saving throw.

If this spell is cast on the corpse of a blind creature, the caster instead gets the last experience it had using its primary sensory organ, provided it remains intact.