Enjoyment appears at the boundary between boredom and anxiety, when the challenges are just balanced with the person's capacity to act.
Mihaly Csikszentmihalyi (2001). “Flow: the psychology of optimal experience”

Enjoyment appears at the boundary between boredom and anxiety, when the challenges are just balanced with the person's capacity to act.