Skip to main content
Question

Add flowStartingPoints programatically in plugin

  • September 27, 2023
  • 2 replies
  • 267 views

Hi, is there a way to add flow starting points programatically in a plugin? like how you can add reactions

All i can see is a readonly array on current page figma.currentPage.flowStartingPoints

Thanks!

This topic has been closed for replies.

2 replies

James_Yang
Figmate
  • Figmate
  • September 27, 2023

The array is read-only, but the property is not. So you can do figma.currentPage.flowStartingPoints = [...]

This guide covers why complex properties have read-only values: Editing Properties | Plugin API


There i go again, diving in without reading core concepts.

Thanks so much!