i'm trying to use window width and my layout scales according to the window size but the window width is using the set dimensions 640*480 and i want to use the viewport width any suggestions
Develop games in your browser. Powerful, performant & highly capable.
Along with Layout.Width, and Window.Width, C2 also has a ViewportLeft, Right, Top and Bottom for you to select.
Hope that helps :)