Skip to main content

Peek

peek

Use Peek to observe the data output (supporting Number, Bool, Vec2, Vec3, Vec4, Color, String, Rect). Peek is in the Utility category.

Input​

NameData TypeDescription
DataNumberThe data as its output type to be observed.

Output​

NameData TypeDescription
DataNumberThe data observed as its output type.

Example​

peek example

This example shows how to use the Peek node to observe the screen position data when tap on the screen.

Copyright © 2026 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalTerms of ServicePrivacy PolicyCookies