godot display/window/size/width 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"))