How does useberry and maze send event and receive events from embed Figma iframe

I have a standalone web app were I have integrated embed Figma Iframe. Now when user interacts with embed iframe I want to know which node user navigates to. Is there any event which Figma broadcast. Or any API exposed by Figma which can be used to communicated to and from Figma iframe into my web app. Same this useBerry and Maze are handling.

1 Like