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

**URL:** <https://forums.unrealengine.com/t/how-do-i-rotate-an-object-on-its-axis-in-play-mode/468220>\
**Category:** Community & Industry Discussion\
**Tags:** rotation, unreal-engine, pointer, question\
**Created:** [July 15, 2020, 11:28pm UTC](https://forums.unrealengine.com/t/how-do-i-rotate-an-object-on-its-axis-in-play-mode/468220 "2020-07-15T23:28:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![2CKool4U](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2CKool4U](https://forums.unrealengine.com/u/2CKool4U)\
**Post date:** [July 15, 2020, 11:28pm UTC](https://forums.unrealengine.com/t/how-do-i-rotate-an-object-on-its-axis-in-play-mode/468220/1 "2020-07-15T23:28:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [July 16, 2020, 8:14am UTC](https://forums.unrealengine.com/t/how-do-i-rotate-an-object-on-its-axis-in-play-mode/468220/2 "2020-07-16T08:14:07Z")

</div>

Not sure if I follow, how close is this:

> **[Rotate an object in all directions using the mouse](https://forums.unrealengine.com/questions/953551/rotate-an-object-in-all-directions-using-the-mouse.html)**
>
> Hi all, I want to create a mini-game which start with a 3D object at the center of the screen. A user needs to rotate an object in all directions by using the mouse. Same as you would look at a 3D object in a web browser e.g. like this one. After...

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

Or do you want to do it with gizmos?

---

<div class="post-metadata">

**Author:** ![visualconquest](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@visualconquest](https://forums.unrealengine.com/u/visualconquest)\
**Post date:** [May 4, 2023, 4:53pm UTC](https://forums.unrealengine.com/t/how-do-i-rotate-an-object-on-its-axis-in-play-mode/468220/3 "2023-05-04T16:53:58Z")

</div>

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