Get Enabled
![get enabled](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/get_enabled-579657c5d88883cad8c271fd2c35607a.png)
Use Get Enabled to get component enabled status. Get Enabled is in the Utility category.
Input
Name | Data Type | Description |
---|---|---|
Target | Component | The component to get the status for. |
Output
Name | Data Type | Description |
---|---|---|
Enabled | Boolean | Return true if the component is enabled. |
Example
![get enabled example](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/get_enabled_example-6ed2ec06dd6a67b091ef27478a74f01a.gif)
Toggle the Directional Light component to show/hide the cube.
![get enabled node](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/get_enabled_node-3fb0cc6fc6a04e4638dd0aa3f73590be.png)