event

An action, recognized by an object, for which you can write code to respond. Events can be generated by a user action–such as clicking the mouse or pressing a key–by program code, or by the system, as with timers.