Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
GetCategory()

GetCategory()

Updated: 6 Feb 2025

Purpose #

Returns the category name where the node resides in the node list. For example, “Cameras” or “Lighting::FX::Fog Scattering”.

Syntax #

string GetCategory();
returns the category name where the node resides in the node list.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Image 2D");
    var category = node.GetCategory();
}