Add flowStartingPoints programatically in plugin

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!

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!