Cognition is also facilitated by directing attention around one’s spatial environment. Studies of eye movements show that cognitive success is partly due to learning complex gaze patterns governing when and where to focus visual attention, such as where to look on a counter full of ingredients when cooking, so as to obtain information “just in time.”