Less or Equal
![less or equal](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/less_or_equal-c5c24a2e77017c080b9f39edc1743ffa.png)
Use Less or Equal to check if one value is less than or equal to another. Less or Equal is in the Logic category.
Input
Name | Data Type | Description |
---|---|---|
Value1 | Int/Double | The base value. |
Value2 | Int/Double | The value to compare to the base. |
Output
Name | Data Type | Description |
---|---|---|
Value | Boolean | A boolean signal of the comparison result. |
Example
![less or equal example](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/less_or_equal_example-d32e0a6b3bc12c5c4d40cb90ac210e74.gif)
Set the sphere to yellow when the X axis position is less than or equal to 0.0.
![less or equal node](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/less_or_equal_node-eed002a65c3d10edfc9b5a0741423974.png)