GTween:setValue

From GiderosMobile
Revision as of 04:20, 8 December 2025 by MoKaLux (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)