Skip to main content

TweenPlayMode

TweenPlayMode — playback mode for the Tween animation system.

TypeNameInterface Description
EnumLoop

EnumLoopOnce

EnumPingPong

EnumPingPongOnce

Examples

Loop

let value = APJS.TweenPlayMode.Loop;

LoopOnce

let value = APJS.TweenPlayMode.LoopOnce;

PingPong

let value = APJS.TweenPlayMode.PingPong;

PingPongOnce

let value = APJS.TweenPlayMode.PingPongOnce;

Use Case

@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use TweenPlayMode here
}
onUpdate(deltaTime: number) {
}
}
Copyright © 2026 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalTerms of ServicePrivacy PolicyCookies