Need scroll events in embed prototype inside iframe
I am using https://www.figma.com/developers/embed article to embed Figma prototype inside iframe.
According to this article, I am getting ‘PRESENTED_NODE_CHANGED’ and ‘MOUSE_PRESS_OR_RELEASE’ events whenever the page gets changed while interacting with prototype, and on click respectively.
For my use case, I also need the ‘SCROLL’ events, that should trigger whenver user is scrolling the prototype inside the iframe. I couldn’t find any documentation of such an event, but I belive this is a common usecase to know the scrolling position of the prototype.
Do Figma have this event which I can listen to in javascript?
Or is there any workaround to achieve this behaviour.
