Download

On clicked event not working when linked to a variable

So I have an array of 3 Static mesh. I just want to get one of the static mesh (cubes) and then apply on it an “onclicked” event.

I get the cube and set it as a variable named “cube click” and then apply the onclick event to the variable “cube click”. My problem is that the onclicked event doesn’t trigger…

Please some ideas why this approach is not working?