It would depend on who committed the foul.
A foul committed by a defender, against an attacker, in the penalty area is a penalty kick for the attackers. A foul committed by an attacker, against a defender, in the penalty area is a direct free kick for the defense.
Chat with our AI personalities