I have such a situation that the names of 3D objects that appear on the scene are display in the panel. If a given 3D object has an appropriate name, its name appears on the panel. Once I have that, I would like to create a button that will appear next to the name of object. Just like on screen.

As you can see, it works. My problem is that when I push a button, it works on all objects. I would like this button to work [on/off] and only affect the object it is next to. The button is quite simple, because it only has to select object / point. I know I should use flags, but I don’t know how to do it.
CommonProperties.second_button, text=“Second Button”, toggle=True, icon=‘CHECKBOX_HLT’)The problem is that when I do, I have two buttons pressed at once. And I would like the first button to be pressed, the second is not. When the second button is pressed, the first one will be not. I know I should use flags, but I don’t quite know how to do it. – Neuroup May 28 '21 at 07:24