Hi,
I cannot find an answer to this problem anywhere.
Basically I have an image larger than the viewport and I want to be able to pan around the image looking for clues in a
game. I have enabled drag and drop & touch for use on tablets etc.
Anyway, the problem is that the image can be dragged completely off screen so I want it to be limited to the edge of
the window.
Using Bound to Layout would work if I could set the window to the centre of the layout. The problem here is that it can
only be dragged right and down and not up and left.
Using sprites as collision objects outside of the viewing area kind of works if the collision causes the image to
"drop". But it is then possible to drag again and go over the edge of the screen.
So is there a way to set absolute limits for drag and drop? or a way to move the window to the centre of the layout
and use Bound to Layout? Or am I missing something very obvious?