Detection of an oriented visual target can be facilitated by collinear visual flankers. Such lateral interactions are thought to reflect integrative processes in low-level vision. In past studies, the flankers were task-irrelevant, and were typically assumed to be unattended. Here we manipulated attention to the flankers directly, by requiring observers to judge the relative alignment of two flankers while ignoring a second flanker-pair. Under identical stimulus conditions, attended flankers produced typical lateral interactions, but ignored flankers did not. These data show that lateral interactions can depend on attention to the flanking context, revealing the functional consequences of attentional modulation in low-level vision.