Frightened (conditions)

* A frightened creature has disadvantage on ability checks and attack rolls while it is able to see the source of its fear. * A frightened creature can’t willingly move closer to the source of its fear.

Source: 5e Core — official document

* A frightened creature has disadvantage on ability checks and attack rolls while the source of its fear is within line of sight. * The creature can’t willingly move closer to the source of its fear.

Source: 5e Core — official document

While you have the Frightened condition, you experience the following effects. * Ability Checks and Attacks Affected. You have Disadvantage on ability checks and attack rolls while the source of fear is within line of sight. * Can’t Approach. You can’t willingly move closer to the source of fear.

Source: 5e Core — official document

Other conditions