I guess the burning in your brain might stop if you explain yourself a bit clearer..
It's hard to understand the question for me, so I guess if you have trouble explaining it to us, the computer will never understand..
From what I understand you want to select an object B and only be able to select it once..
I guess you could add a boolean variable to object B, add a condition to check if the boolean false on click, set it to true and have your other actions..