I'd say it's about both and I'm not so sure the rules support an interpretation that treats the two separately. As far as I understand, if you are detected, or noticed, then your location is known. When you are hidden your location is unknown until you are revealed in some way. You can't be hidden and have your location known at the same time.
There's nothing in the rules that says if your position is known you can't attempt to hide again. As long as I meet the requirements of not being able to be seen clearly (or whatever requirements halflings and wood elves have) I can attempt to hide again. At that point, you can't tell I'm still there. The fact that I have nowhere to go isn't really relevant. As I said before, there may not be much benefit to me hiding, because as soon as I move I reveal myself again, that doesn't change the fact that I
was hidden.
But my memory tells me you're still there. That isn't logic.
Logic is
exactly what it is. You can't perceive my location with your senses so you
deduce I'm still there because that's where you saw me last.
I can't perceive your location with my memory? Remember, the ability I use for this is Wisdom.
*blink*
*blink* *blink*
This is quite possibly one of the most ridiculous arguments I've ever heard in my entire life. I actually laughed out loud at its lunacy. No, you can't perceive my location with your memory. It's not a sense.
Besides, memory is Intelligence, not Wisdom (PHB, pg 177 "An Intelligence check comes into play when you need to draw on logic, education,
memory, or deductive reasoning.")
Now you're talking about ducking behind cover to elude the gaze of your enemies so you can move stealthily to another hiding spot. That was exactly my point about the lightfoot. Since she has nowhere to go, in a brightly lit room, other than to stay behind her medium or larger friend which her enemies just observed her stepping behind, there is really no opportunity for her to hide.
Sure there is, because the rules
specifically say there is. The fact that she has nowhere to go is
completely irrelevant to her ability to hide. Hiding and movement are completely separate in this edition. Hiding is an action in 5e, that's never been the case before, it's always been tied to movement. That's not the case anymore.
Action and movement are the two parts of your turn, but they should not be necessarily thought of as happening at two separate times. Once obscured by your medium sized friend, you can certainly move quietly through the dense foliage behind him to a new hiding place where your location will be unknown to your enemies. But if you stay behind your friend, they will perceive where you are because they clearly saw you go there.
There's nothing in the rules that supports this. There is one requirement to be able to attempt to hide, that your target can't see you clearly, and in the halfling's case, the
very specific "You can attempt to hide even when you are obscured only by a creature that is at least one size larger than you." There's nothing in the rules that supersedes that, nor is there anything that having your position known prevents you from attempting to hide. Being discovered makes you lose the benefits of being hidden, but that is,
in no way, the same thing as not being allowed to hide if your position is known.