Difference between revisions of "GTween:setValue"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2010-2011<br/> '''Class:''' GTween<br/> === Description === Sets the numeric end value for a property on the target object that y...")
 
(No difference)

Latest revision as of 04:20, 8 December 2025

Available since: Gideros 2010-2011
Class: GTween

Description

Sets the numeric end value for a property on the target object that you would like to tween.

GTween:setValue(name,value)

For example, if you wanted to tween to a new x position, you could use: myGTween:setValue("x", 400).

Parameters

name: (String) the name of the property to tween
value: (number) the numeric end value (the value to tween to)