Objects selection

Hi everyone :slight_smile:

I’m creating an interface for changing materials of blueprint objects. When I click on object it highlights, an interface appears and I can choose a new material for it.

At this moment I have almost full funcionality, but I have a problem with distinguishing particular objects. It means that when I select my chair, change its material and then I want to select another object it also highlight, but the previous object (chair) don’t want to stop being highlighted. It is because I can’t recognizing which object I am clicking. I just need my level blueprint to know what my cursor is clicking.

Here is some screens:

Highlighting in one of blueprint objects:

Unhighlighting and changing material after clicking:

Calling event for changing color in the level blueprint:

Level blueprint with turning off the interface with materials (ShowPicker and HidePicker are the events in MyPawn):

If I could call LeftMouseButton event in every blueprint class it would be much easier, but I don’t know how to get something like this.

I hope everything is clear for you :slight_smile:

Thanks in advance!