fearsomepirate
Hero
A common scenario. A character is currently in darkness and hidden. The character moves 20 ft towards an enemy, and after the first 10 ft of movement, is no longer in the darkness. They then proceed to make two attacks. They complete their move by moving back into the darkness.
At what point does the character lose the benefit of stealth?
1) As soon as they first move out of the darkness. None of their attacks get advantage.
2) The first attack gets advantage, then they lose stealth.
3) Both attacks get advantage, then they lose stealth.
4) They maintain stealth the entire time
Possibly (1), DM's call. If the DM allows the rogue to proceed stealthily, then (2). I generally do not allow (1) in combat. Plenty of sources of advantage otherwise, and what self-respecting rogue isn't carrying a ranged weapon?