How do I rotate the UE4 own Cube with pivot changed just not for Blueprint

I have cube and I want to rotate it from the side. I have changed the pivot to be from the side, but under blueprint it rotate it from center.

How do I do that:

Pivot point of the mesh must be changed outside unreal (in blender and such). Setting the pivot in unreal doesn’t really do that.

Best to make new mesh. Changing unreal engine content cube is not a good idea.

Add a scene component where you want the cube to pivot, parent the cube to the scene component, and rotate the scene component.