how to click on some position and get response on other position?

suppose I click on (1,1,1), then what to do to get the response on (2,2,2)

@TreyH I want to access a box collider by clicking on another box collider