Difference between revisions of "Pixel:setTexturePosition"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
Sets the texture's position
+
<translate>Sets the texture's position</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Pixel:setTexturePosition(x,y)
 
  Pixel:setTexturePosition(x,y)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''x''': (number) x-coordinate of texture <br/>
+
'''x''': (number) <translate>x-coordinate of texture</translate> <br/>
'''y''': (any) y-coordinate of texture <br/>
+
'''y''': (any) <translate>y-coordinate of texture</translate> <br/>

Revision as of 14:33, 23 August 2018

Available since: Gideros 2011.6

Description

Sets the texture's position

 Pixel:setTexturePosition(x,y)

Parameters

x: (number) x-coordinate of texture
y: (any) y-coordinate of texture