As an action, you sense the presence of magic within 9 meters of you. If you sense magic in this way, you can use an action to see a faint aura around any visible creature or object in the area that bears magic, and you learn its theme, if any.
The spell can penetrate most barriers, but it is blocked by 30 centimeters of stone, 2 centimeters of common metal, a thin sheet of lead, or 1 meter of wood or dirt.
If you touch a creature or object for 5 minutes, you can determine the magic affecting it. If it is a magic item or some other magic-imbued object, you learn its properties and how to use them, whether it requires attunement to use, and how many charges it has, if any. You learn whether any spells are affecting the item and what they are. If the item was created by a spell, you learn which spell created it. If it is a creature, you learn what spells, if any, are currently affecting it.