Skip to main content
October 27, 2023
Solved

Inquiry on How to create comments using the Figma Plugin API

  • October 27, 2023
  • 1 reply
  • 505 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);
This topic has been closed for replies.
Best answer by Gleb

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

1 reply

Gleb
GlebAnswer
Power Member
October 27, 2023

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