Combine
![combine](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/combine-17413f806ca7909a6c22ecf9282237a3.png)
Use Combine to pack numbers to a vector. Combine is in the Utility category.
Input
Name | Data Type | Description |
---|---|---|
X | Double | Number to pack. |
Y | Double | Number to pack. |
Output
Name | Data Type | Description |
---|---|---|
Output | Vector2f | The output vector. |
Example
![combine example](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/combine_example-deb355fdb5a00e64c3bf2afd578eb816.gif)
In order to control the rotation of a cube along its Y axis, use the Combine node to pack a float that changes over time with another two to a vector.
![combine node](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/combine_node-65638fb9f1d48c537651349f5108ab1b.png)