How do I rotate an object on it's axis in play mode?

I have been using the collab viewer template and I want to add the ability to rotate an object on its axis. There is already a transform command that has move, reset, and reset all. I want to be able to rotate the object as well not just move its location. How do i do that? I can only find references that allow me to have a specific actor rotate independently which is not what i want to do. Simply put, I want to be able to rotate an object like one would when rotating an object in the editor. I am using a pointer in order to select objects i just can’t seem to be able to piece it together.

Not sure if I follow, how close is this:

rotate an object like one would when
rotating an object in the editor

Or do you want to do it with gizmos?

Did you ever find an answer to this? Any solution?