This article presents a theory that inte~ates space-based and object-based approaches to visual attention. The theory puts together M. P. van Oeffelen and P. G. Vos's ( 1982Vos's ( , 1983) COntour DEtector (CODE) theory of perceptual grouping by proximity with C. Bundesen's (1990) theory of visual attention (TVA). CODE provides input to TVA, accounting for spatially based between-object selection, and TVA converts the input to output, accounting for feature-and category-based withinobject selection. CODE clusters nearby items into perceptual groups that are both perceptual objects and regions of space, thereby integrating object-based and space-based approaches to attention. The combined theory provides a quantitative account of the effects of grouping by proximity and dis~nce between items on reaction time and accuracy data in 7 empirical situations that shaped the current literature on visual spatial attention.For the last decade the attention literature has been embroiled in a debate over the nature of visual spatial attention that focuses on the "thing" that attention selects (e.g., Baylis & Driver, 1993;Driver & Baylis, 1989;Duncan, 1984;Egly, Driver, & Rafal, 1994;Kramer & Jacobson, 1991;Vecera & Farah, 1994). Advocates of space-based attention argue that attention selects regions of space independent of the objects they contain. Attention is like a spotlight illuminating a region of space. Objects that fall within the beam are processed; objects that fall outside it are not (Eriksen & Eriksen, 1974;Eriksen & St. James, 1986;Posner, 1980;Posner & Cohen, 1984;Treisman & Gelade, 1980;Treisman & Gormican, 1988). Advocates of object-based attention argue that attention selects objects rather than regions of space. Selection is spatial because objects necessarily occupy regions of space, but objects rather than the regions themselves are the things that are selected (Kahneman & Henik, 1981;Kahneman & Treisman, 1984;Kahneman, Treisman, & Gibbs, 1992;Pylyshyn & Storm, 1988). Objectbased theories assume that attention only selects regions of space that are occupied by objects, whereas space-based theories assume that attention can select empty regions of space (cf. Yantis, 1992).The purpose of this article is to propose a theory of visual spatial attention that integrates space-based and object-based views. The theory takes a computational approach to the problem, characterizing attention in terms of representations and the processes that operate on them. It differs from most ap- proaches to attention by being concerned with the representation of space and the representation of objects, incorporating a theory of perceptual organization and a theory of selection. The resolution of the controversy derives from the theory's assumptions about representation.The article begins by describing five important questions that face any theory of visual spatial attention. The answers proposed by the new theory are presented by way of describing the theory. The theory is applied to seven important paradigms that shaped the cur...