Controls layer visibility to show or hide elements in your composition. Perfect for creating dynamic content where elements appear or disappear based on your data.
Example
{
"type": "function",
"name": "nx:layer-state-set",
"params": {
"layerName": "Background",
"visible": true
}
}
Parameters
Name of the layer to modify
Whether the layer should be visible (enabled)