How to make a mesh "follow" the rotation of another mesh?

So as you can see I have a big square, this square does a 90° rotation left or right when pressing the left/right key.
I assigned two white meshes to the same BP program as the square but when I rotate the square it’s giving me this:

234309-rotation2.png

I want those meshes to rotate with the center of rotation of the square is it possible ? It will be very helpful for me.
PS: sorry for bad english.

I think I understand what you’re after.

If they are all in the same blueprint and you grab and drop the small cubes onto the big cube to parent them, they will take it’s transform information from it’s pivot point and follow any rotation that it undertakes.

That’s exactly what I was looking for thank you :slight_smile: