with (all) //ALL objects { if (id != other.id) //exclude self { selected = 0; //deselect } }