Actor is not rotating, but the same mesh into the actor does

I have the default mesh “Cube”, I apply the script attached in the image, and just starts rotating.

But if I make an actor, createa mesh in the actor, set the Cube mesh in the Actor. I can’t rotate it.

Both are as movable, with physics enabled, etc. But I don’t know why an actor doesn’t rotate

Any suggestions?