How to Move Cursor to Node ID Using Figma Plugin API?

I’m currently developing a Figma plugin and I’m looking to use the node’s ID to call an API and move the cursor to that specific node. I’ve already implemented a logic to traverse nodes, check against design system rules, and display IDs of nodes that violate the rules in the plugin UI. However, I’m struggling to find information in the API documentation on how to use these IDs to make API calls and move the cursor to the corresponding nodes. I’m reaching out to the community to see if anyone has insights or useful information regarding this matter.

Thank you.

You cannot manipulate the user’s cursor. But you can add nodes to a selection and focus the user’s viewport over that selection.

Wow… Thank you so much for your reply

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.