How to get hyperlink info

Once I launch my plugin, on click I want to fetch all of the properties info and display them in JSON.

I asked ChatGPT how to get hyperlinks added as interaction in the prototype tab, and he suggested something like this, but it is always displaying null.

FYI I am not a developer, just testing something and I am stuck with this hyperlink property, so I need some help.


The hyperlink property is only supported on TextNode and TextSublayerNode. Please see the developer documentation:
https://www.figma.com/developers/api#typestyle-type

And what you need is an action with a URL type that is available in the Plugin API, but seems to be missing in the REST API. Here are links to the necessary docs:

1 Like

Thanks for the materials, I will check them out!

Legend, I did it!