In finding a selected object, we iterate through the set of objects, stopping with the first object that contains the point (x,y). (See Object.cpp for the method used in determining if the object contains the point.) We observed that the selected object is highlighted with its boundary drawn in white. Thus, the next step after searching for an object is de-select all objects as current and then set the selected object, if any, as the current object.