Skip to main content

LookAtDirection

Specifies the forward direction of a transform.

TypeNameInterface Description
EnumNegativeX

EnumNegativeY

EnumNegativeZ

EnumX

EnumY

EnumZ

Examples

NegativeX

let value = APJS.LookAtDirection.NegativeX;

NegativeY

let value = APJS.LookAtDirection.NegativeY;

NegativeZ

let value = APJS.LookAtDirection.NegativeZ;

X

let value = APJS.LookAtDirection.X;

Y

let value = APJS.LookAtDirection.Y;

Z

let value = APJS.LookAtDirection.Z;

Use Case

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