How to place game objects align left/right bounds of visible game window in ENVELOP scale mode?


#1

In ENVELOP scale mode, the visible game window might smaller then the visible game window defined in game config.

I would like to place game objects (i.e. UI objects) align left/right bounds of visible game window. The left/right bounds will be changed when resize browser, in ENVELOP mode.

Here is a demo of ENVELOP scale mode. You could see the world position of touch/mouse pointer at each corner of visible game window.

But I could not find any propertie about the world position of visible game window.