Edge Scrolling with Get Viewport Size

Hi,

i have followed issue:

I have a camera with edge scrolling via mouse.

When i move the mouse to the upper or/and left edge, the camera moves in that direction.

But not when mouse is at x=1920 or/and y=1080 (HD Case).

I have used “Get Viewport Size” with X and Y as outputs.

The wierd thing is, when i use “Get Viewport Size” with 2DVector output, it only works in playing in selected Viewport.

Anybody an idea what i have forgotten?

Kind regards

Laugh at me :smiley:

Decrement the x and y solved this :smiley: