Provoking an Attack of Opportunity by Moving
If a combatant moves through (not simply into) or out of a threatened area, a combatant usually provokes an attack of opportunity.
If all a combatant does is take a normal move or a double move (not a run), the space that the combatant started out in is not considered threatened.
If a combatant's entire move for the round is 5 feet the 5 foot move does not provoke an attack of opportunity.