Difference between revisions of "Pixel:setTexturePosition"

From GiderosMobile
Line 11: Line 11:
 
'''x''': (number) <translate>x-coordinate of texture</translate> <br/>
 
'''x''': (number) <translate>x-coordinate of texture</translate> <br/>
 
'''y''': (any) <translate>y-coordinate of texture</translate> <br/>
 
'''y''': (any) <translate>y-coordinate of texture</translate> <br/>
 +
 +
{{Pixel}}

Revision as of 22: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