godot window size code example
Example: how to get screen width and height in godot
var projectResolution=Vector2(Globals.get("display/width"),Globals.get("display/height"))
var projectResolution=Vector2(Globals.get("display/width"),Globals.get("display/height"))