Skip to main content
Solved

Inquiry on How to create comments using the Figma Plugin API

  • October 27, 2023
  • 1 reply
  • 391 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.

View original
This topic has been closed for comments

1 reply

Gleb
  • Power Member
  • 4708 replies
  • Answer
  • October 27, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings