Perceived challenges or opportunities for action that stretch existing personal skills are conditions of flow.
The model of the flow state has three parts: flow- where challenges and skills matched , boredom- where challenges and opportunities were too easy relative to skill and anxiety- where demands increasingly exceeded capacities for action.