Rotate object with mouse in Scene Capture 2D

UE 5.0.3
Hi,

So I have a inspection system allowing the user to inspect objects.

The object appears with a scene capture 2D rendered to a material and then on a image on the user widget.

I want to allow the user to rotate the object only when the mouse is hovering the object image and only when left mouse button is clicked.

I realized that the mouse hovering was not working anymore when LMB is pressed, so I tried to make a subwidget for the object image and tried with the mouse enter and mouse leave events, but they are not working also when LMB is pressed.

But also, when I just cut all that to test if the object is rotating wheter or not the user is clicking, the movement is jittery despite having the same code as if I was rotating a 3D object , with the mouse delta input. The scene capture is refreshing every frame, if I set an auto rotation function for instance, the rotation is smooth as expected.

Any ideas how I could achieve the clicking rotation on UI ?

Thanks

By digging around a bit more, I realised that the problem might come from the get input mouse delta, it works fine out of the UI but once in the widget, it clearly tries to stay at 0 . Input is set to game and UI because if I select input mode to UI only, the LMB analog key state value stays at 1

Solved with that