Difference between revisions of "GTween:init2"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2010-2011<br/> '''Class:''' GTween<br/> === Description === Reads all of the initial values from target and calls the '''"onInit"...")
 
 
Line 4: Line 4:
  
 
=== Description ===
 
=== Description ===
Reads all of the initial values from target and calls the '''"onInit"''' callback.
+
Reads all of the initial values from target and calls the '''"init"''' callback.
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
GTween:init2()
 
GTween:init2()

Latest revision as of 07:28, 8 December 2025

Available since: Gideros 2010-2011
Class: GTween

Description

Reads all of the initial values from target and calls the "init" callback.

GTween:init2()

This is called automatically when a tween becomes active (finishes delaying) and when :swapValues() is called.

It would rarely be used directly but is exposed for possible use by power users.