focusedNode
info
This API is only available in Figma Slides and Figma Buzz
When in Asset View, the Slide/Asset that is currently focused is accessible via this property.
Supported on:
Signature
focusedNode: SceneNode | null
Remarks
You can also set this via:
figma.currentPage.focusedNode = node