Reference a specific static mesh actor from the scene in a blueprint

Hi all,

I have a noob question for blueprint actor to static mesh actor interaction.
Let’s say I have lots of cubes in my scene, including two special ones (cube_1 and cube_2) and a single blueprint actor with a trigger box. All cubes are moving around, but I want the Overlap Event begin only when cube_1 overlaps with the trigger box. What I want to happen when this overlap event takes place is that that another cube (cube_2) changes color.

Is there a way to reference these two cubes in my trigger box blueprint without making them BP actors or using tags? Is there another way to do that? I tried to drag them from the project outliner to my trigger box BP event graph or make variables, but it does not seem to work.

I tried to use variables, but I can’t seem to be able to reference specific cubes in my scene.

I know it is a very noob question, and any tips will be very much appreciated!!!

It’s much easier if they’re blueprints. Otherwise you’ll need to check every overlap against either an actor reference, or display name.

yeah, I gave up and made them blueprints.

1 Like

It’s not defeat :slight_smile:

Blueprints is the way, otherwise you have to write a spaghetti load of code to keep track of dumb static meshes.