Skip to main content

AObject(510)

TypeInterfaceInterface Description
Variablesname: stringUsed to store and identify the names of special effect objects, facilitating object management and lookup.

Code Example

@customNode()
export class CustomNodeTS extends BasicScriptNode {

@output('string')
nameList: string;

execute() {
var sceneObjects = this.scene.getAllSceneObjects();
this.nameList = '';

sceneObjects.forEach(obj => {
this.nameList += '\n${obj.name}';
})
}
}
Copyright © 2025 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalCookies