Help in making a rotating door

I was trying to make a rotating door in a BP as I wanted to use it many times in the game, so as I started working on it, it went smoothly until I started to rotate the door.
I come up with the error : static mesh component reference is not compatible with actor reference.
I understand that my door is a static mesh, but that does not stop it from working while using it in a level BP.


This is the error I get. Can someone please help me get rid of this?

Because it’s a component not an actor , Try “Set World Rotation” or “Set Relative Rotation”