<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=Global_Command%3A_setWindowSize</id>
		<title>Global Command: setWindowSize - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=Global_Command%3A_setWindowSize"/>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Global_Command:_setWindowSize&amp;action=history"/>
		<updated>2026-05-25T16:05:09Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Global_Command:_setWindowSize&amp;diff=11942&amp;oldid=prev</id>
		<title>EK: Created page with &quot;Set the size of the game window. Only applicable, if the game is running in window mode.   == Syntax == &lt;syntaxhighlight lang=&quot;lua&quot;&gt; setWindowSize(size) &lt;/syntaxhighlight&gt;   =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Global_Command:_setWindowSize&amp;diff=11942&amp;oldid=prev"/>
				<updated>2023-05-15T22:36:40Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Set the size of the game window. Only applicable, if the game is running in window mode.   == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; setWindowSize(size) &amp;lt;/syntaxhighlight&amp;gt;   =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Set the size of the game window. Only applicable, if the game is running in window mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setWindowSize(size)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;ts&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; | Parameter&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; colspan=&amp;quot;2&amp;quot; | Type/Structure&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; | size&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; | table&lt;br /&gt;
| x (int)&lt;br /&gt;
| The new width of the game window.&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; | Pass the new window size as an associative array containing the elements x and y. &lt;br /&gt;
|-&lt;br /&gt;
| y (int)&lt;br /&gt;
| The new height of the game window.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Return values ==&lt;br /&gt;
&lt;br /&gt;
none&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
'''Example 1:''' Resize the game window to 640 x 480 px.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setWindowSize({x=640,y=480})&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{toc}}&lt;/div&gt;</summary>
		<author><name>EK</name></author>	</entry>

	</feed>