It sounds easy but I’m not sure why after the first time working it stops working until I move my mouse outside of the canvas and move into the canvas again.
Also probably my sample is over complicated and I’m almost sure that there should be another easier way:
Obviously, my intention is that you cannot move the viewport if your mouse is over the UI elements.
Thank you in advance for any tip!