OK, so in details:
MyPlayer blueprint - adding interface and mouse cursor
InterfaceSlot - single button with image on it. SlotColot variable is binded to Color and Opacity to showing colors on buttons in game.
EventGraph of the InterfaceSlot - executing event from level blueprint.
Get Slot Params - honestly I don’t know does it have any sense, but when I was trying to print values locally in this blueprint it was working fine.
ColorInterface - interface added to the viewport. It containt 5 instances of the single button.
n the picture you can see variables created in InterfaceSlot. I can set these values and it looks properly in game. The event graph is empty, I can’t do some OnClicked event in this blueprint (already in previous BP). I was trying create some function but I couldn’t get values which I set. I was always getting zeros.
Here I just have to join these parts. I need an index of clicked button and then I can get colors from collection, but it won’t be necessary when I’ll get values from my interface.
I think that’s all. Hope it’s clear now. Thanks again for taking time for me!




