Regarding where I want to draw the polygon, that will be a Modal only available in the Panel Editor. The modal is supposed to have the same dimensions as the Panel (outside of the editor, in the true dashboard).
As you have shown, getting the width and height of the panel is done through the Props and it’s quite forward. But what we are trying to accomplish is to have a Modal (only available in the editor) which will draw a canvas of the same size of the panel (and this size is the one “outside” of editing).
I understand that its super specific and again, it seems my question had flaws or was not understandable what our aim was.
To sum it up: is there a way to get the panel width and height (the dimension in the dashboard) through panel editor?
Thank you in advance for your time and patience