Setting Interface Reference

Hi, new to programming.

Just started to learn how to use UE5 and wanted to create a simple memory game to start with. But I can’t seem to get the hang of Interfaces (or how to communicate between blueprints in general).

I have set up a master tile and then children tiles that are spawned randomly in the world and set up a static camera view. I have managaed to set up so that I can click on a tile and they rotate to show what is on it. Now I try to make the logic behind them turning back or being destroyed.

I try to make it so that the tiles, when clicked, sends their motive (in this case an animal) and a signal to the camera blueprint to resolve what should happen which then should send back to the tiles what to do.

But I can’t seem to get the Interface between the tiles and camera to work. And I believe it has to do with referencing the camera bp in the interface function.

I have seen many videos about it and most of them are doing the reference by doing a trace (to a button or something) but I just want to reference by static camera/bp.

Any ideas of what I am doing wrong?

Have you set the camera reference? It actually needs to point to the camera. An easy way to do that in the tile BP would be

Amazing, thank you!
It was as simple as that. Saved me a lot of gray hair and made me feel very green at this ^^

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.