This is a case of event-driven behavior

This is a case of event-driven behavior: the sequence starts with the world, causing evaluation of the state and the formulation of a goal. The trigger was an environmental event: the lack of light, which made reading difficult. This led to a violation of the goal of reading, so it led to a subgoal-get more light.

— from Expanding Your Range (Growth/Change/Education/Learning/Habit) · Design of Everyday Things by Don Norman

Also belongs to

Related