Difference between revisions of "Pixel:setWidth"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Sets the width of the pixel sprite.</translate>
 
<translate>Sets the width of the pixel sprite.</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  Pixel:setWidth(w)
 
  Pixel:setWidth(w)
 
</source>
 
</source>

Revision as of 14:30, 13 July 2023


Available since: Gideros 2016.06
Class: Pixel

Description

Sets the width of the pixel sprite. <syntaxhighlight lang="lua">

Pixel:setWidth(w)

</source>

Parameters

w: (number) The new width.