Skip to content

Commit 2709a54

Browse files
committed
Update reflection.html
1 parent e611030 commit 2709a54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/reflection.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,13 +358,13 @@ <h4>Examples:</h4>
358358
<h2 id="setGraphicSize">setGraphicSize</h2>
359359
<p class="methodbox">setGraphicSize(<span class="variablemarkup">tag</span>:String,
360360
<span class="variablemarkup">x</span>:Float,
361-
<span class="variablemarkup">y</span>:Float,
361+
<span class="isoptional">?</span><span class="variablemarkup">y</span>:Float = 0,
362362
<span class="isoptional">?</span><span class="variablemarkup">updateHitbox</span>:Bool = true):Void</p>
363363
<p>Scales an Object by a ratio.<p>
364364
<ul>
365365
<li><b><span class="variablemarkup">tag</span></b> - Variable name of the instance or Lua Object nametag.</li>
366366
<li><b><span class="variablemarkup">x</span></b> - Width in pixels.</li>
367-
<li><b><span class="variablemarkup">y</span></b> - Height in pixels, set to 0 to keep its size constraint to the Width. Defaults to 0.</li>
367+
<li><b><span class="variablemarkup">y</span> (Optional)</b> - Height in pixels, set to 0 to keep its size constraint to the Width. Defaults to 0.</li>
368368
<li><b><span class="variablemarkup">updateHitbox</span> (Optional)</b> - <a href="#updateHitbox">Updates Hitbox</a> after scaling.</li>
369369
</ul>
370370
<h4>Examples:</h4>

0 commit comments

Comments
 (0)