Hide
Action
Succeed on a DC 15 Dexterity (Stealth) check while Heavily Obscured or behind Three-Quarters or Total Cover, and out of every enemy's line of sight. If you can see a creature, you can tell whether it can see you.
On a success you have the Invisible condition while hidden. Note your check total: that is the DC for a Wisdom (Perception) check to find you.
You stop being hidden the moment you make a sound louder than a whisper, an enemy finds you, you make an attack roll, or you cast a spell with a Verbal component.