Set object active when clicking on it with a border.