Skip to main content


Whether the node is locked or not, preventing certain user interactions on the canvas such as selecting and dragging. Does not affect a plugin's ability to write to those properties.


locked: boolean


The value that this property returns is independent from the node's parent. i.e.

  • The node isn't necessarily locked if this is .locked === true.
  • The node isn't necessarily unlocked if this is .locked === false.
  • An object is locked if .locked == true for itself or any of its parents.

On this page