Skip to main content

DynamicComponent

APJS Script API reference for the DynamicComponent class.

TypeNameInterface Description
Functionsconstructor()

Examples

constructor()

let obj = new APJS.DynamicComponent();

Use Case

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