GTween:setPaused

From GiderosMobile
Revision as of 01:26, 8 December 2025 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2010-2011<br/> '''Class:''' GTween<br/> === Description === Plays or pauses a tween. <syntaxhighlight lang="lua"> GTween:setPause...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2010-2011
Class: GTween

Description

Plays or pauses a tween.

GTween:setPaused(value)

You can still change the position value externally on a paused tween, but it will not be updated automatically. While paused is false, the tween is also prevented from being garbage collected while it is active.

Parameters

value: (bool) true to pause the tween, false to play the tween