drag the mouse to let a camera around an object 360 rotation

Hello! I was looking for this weeks ago, and with some body’s help I could built the controller i was looking for. Basicly you will need to create 2 blueprints. The first one should be the Character Blueprint, and inside the components you should create a ‘‘Spring Arm’’ and attach the camera to it (drag and drop the camera to the Spring Arm). Also make sure to increase the spring arm length and enable ‘‘User Controller View Rotation’’ in the ‘‘Camera Settings’’ of the Spring Arm detail panel.

Ignore the sphere (I used for other purposes)

Ok, now create a new blueprint that would be our Player Controller Blueprint, give it a custom class, type: PlayerController (this is IMPORTANT). After create it, go to Graph, Create 1 variable name it: “Mouse Press”, and the type should be “bool”.
Follow the picture to built your mouse controls (if you want the mouse cursor to disappear while mouse button pressed add those two last variables in the picture called ''Show Mouse Cursor", just drag a node from the “Mouse Press” and type “Show Mouse Cursor”),

Now in that same blueprint, go to defaults and enable all boxes inside the ''Mouse Interface" section.

And finally, go to your game mode blueprint and set the ''Default Player Class" to the Character Blueprint you created and the Player Controller Blueprint to the ‘‘Player Controller Class’’