MovieClip.getTweenFunction: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2023.9<br/> '''Class:''' MovieClip<br/> === Description === Retrieves a native tween/easing function by its name. <syntaxhighligh..."
 
No edit summary
Line 11: Line 11:
=== Parameters ===
=== Parameters ===
'''name''': (string) The name of the requested tween function<br/>
'''name''': (string) The name of the requested tween function<br/>
=== Return values ===
'''Returns''' (function) the specified tween function, or linear tween function if name wasn't recognized<br/>


{{MovieClip}}
{{MovieClip}}

Revision as of 06:59, 31 August 2023

Available since: Gideros 2023.9
Class: MovieClip

Description

Retrieves a native tween/easing function by its name.

(function) = MovieClip.getTweenFunction(name)

Parameters

name: (string) The name of the requested tween function

Return values

Returns (function) the specified tween function, or linear tween function if name wasn't recognized