createText
Creates a new, empty text node with no vertices.
Signature
createText(): TextNode
Remarks
By default, parented under figma.currentPage
. Without setting additional properties, the text has no characters. You can assign a string, to the .characters
property of the returned node to provide it with text.