Is it possible to set multi breps except for right click? e.g., human ui

I want to set breps except for right click, for example from human ui component. Is it possible?

Hi, try the script I posted in this thread:


oh I missed it. Thank you for your an answer and the script!

Very very grateful.