Greater Than
![greater than](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/greater_than-a14f39a6ee267a68f3fa9eb0f12ed92a.png)
Use Greater Than to check if one value is less than or equal to another. Greater Than 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
![greater than example](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/greater_than_example-8f077b6b08aa64237ca15152a0a233aa.gif)
When the game time is greater than 3.0 seconds, the sphere will turn red.
![greater than node](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/greater_than_node-822bd58c9488d004d7c68de1e4398d8c.png)