Skip to main content
Solved

Inquiry on How to create comments using the Figma Plugin API

  • October 27, 2023
  • 1 reply
  • 471 views

I’d like to inquire with the community about creating comments using the Figma Plugin API. Is there a method for accomplishing it using code?. Something maybe like:

const comment = figma.createComment();
comment.text = chatGPTResponse;
selectedLayer.appendChild(comment);

Best answer by Gleb

No, you can’t create comments with the Plugins API. Only REST API.

This topic has been closed for replies.

1 reply

Gleb
  • Power Member
  • Answer
  • October 27, 2023

No, you can’t create comments with the Plugins API. Only REST API.