Peek
![peek](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/peek-424321814bb30f7aed74a55ec57f9892.png)
Use Peek to observe the data output (supporting Number, Bool, Vec2, Vec3, Vec4, Color, String, Rect). Peek is in the Utility category.
Input
Name | Data Type | Description |
---|---|---|
Data | Number | The data as its output type to be observed. |
Output
Name | Data Type | Description |
---|---|---|
Data | Number | The data observed as its output type. |
Example
![peek example](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/peek_example-3ed7b9923e93c1341b678d8703d8a22b.gif)
This example shows how to use the Peek node to observe the screen position data when tap on the screen.