[RPG] Does moving away from under a flying opponent provoke an opportunity attack

dnd-5eflightopportunity-attack

If a rogue with flying ends their turn 5 ft above someone, does that mean the target cannot move without provoking an attack of opportunity (and thus, a potential Sneak Attack)?

The two parties are already engaged in combat, so all pursuant rules apply. Also, I realize they can spend their action to Disengage, but the question still holds.

Best Answer

Yes

I'm not sure why there is any doubt about this:

You can make an opportunity attack when a hostile creature that you can see moves out of your reach.

If the putative rogue has a reach of 5 feet or more, a reaction available and the target is visible then if the target leave's the rogue's reach using their own movement then they rogue can launch an Attack of Opportunity.