Rotate 360 images on Z axis?

Hello there,

I’ve recently watched an oficial unreal live training about making a 3d 360 image/video viewer on unreal and was amazed at how simple it was! ([Twitch][1])
However I can’t seem to find a way to rotate the viewer to adjust the images to where I want to show…
Currently I’m doing and archvis project that consists on showing multiple 360 images on the background of a 3D model, making me have to adjust every single image to match the position of the model.

My question is, based on the material nodes that Sam Deiter have done on the live training, is there a way to create a parameter that rotates only the Z axis to adjust a 360 image?

Here’s how he made in the video: