Open this page in the API Guide

DesignObjectNode.layer Property

Gets the layer of this node