Difference between revisions of "Pixel:setTexturePosition"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Sets the texture's position <source lang="lua"> = Pixel:setTexturePosition(xy,) </source> '''x:''' (nu...")
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
Sets the texture's position
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/Pixel|Pixel]]<br/>
 +
=== <translate>Description</translate> ===
 +
<translate>Sets the texture's position</translate>
 
<source lang="lua">
 
<source lang="lua">
= Pixel:setTexturePosition(xy,)
+
Pixel:setTexturePosition(x,y)
 
</source>
 
</source>
'''x:''' (number) x-coordinate of texture ''''''<br/>
+
=== <translate>Parameters</translate> ===
'''y:''' (any) y-coordinate of texture ''''''<br/>
+
'''x''': (number) <translate>x-coordinate of texture</translate> <br/>
 +
'''y''': (any) <translate>y-coordinate of texture</translate> <br/>
 +
 
 +
{{Pixel}}

Revision as of 23:34, 3 December 2019


Available since: Gideros 2011.6
Class: Pixel

Description

Sets the texture's position

 Pixel:setTexturePosition(x,y)

Parameters

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