GTween:init2: Difference between revisions

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"..."
 
No edit summary
 
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 06: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.