Split
Use Split to unpack a vector to numbers. Split is in the Utility category.
Input
Name | Data Type | Description |
---|---|---|
A | Vec2 | The input value to unpack. |
Output
Name | Data Type | Description |
---|---|---|
X | Number | The first unpacked number. |
Y | Number | The second unpacked number. |
Example
![split example](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/split_example-8b993ab99424c8605c87f4bcf268e815.gif)
Adjust the Y position of the sphere to change the intensity of the blue Directional Light.
![split node](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/split_node-83752952ca449ff499001a43e2f02f68.png)