Rotate objects with mouse

How to rotate objects in game with mouse like this: sample.

Hey Livinskiy-

I notice that you asked the same question here: Rotate objects with mouse - Programming & Scripting - Epic Developer Community Forums

I am closing this post in order to focus attention on the other post.