I want to move the windows when mouse button is down anywhere in the canvas. I got x & y cordinates with Touch.AbsoluteX+NWjs.WindowX but, when the window is too large, flickering appears. Is there another way to get x & y screen coordinates?
Not sure it will work but what about setting touch x.y to a var when start touching, then while touching calculate the position by distance from the start point to the current touch (inside the canvas)?
Develop games in your browser. Powerful, performant & highly capable.