How could I move/dragg the viewport by holding down middle mouse button in my game, just like in construct 2 viewport?
So far I have managed to do this:
Cameraman:
Substract Cursor.X/2 from CurrentX
Substract Cursor.Y/2 from CurrentY
Cameraman:
Set X to Cameraman.CurrentX
Set Y to Cameraman.CurrentY
This works well, but returns view back to the starting point.