let data = figma.createFrame();
//Here I am creating a new frame which is rendering on figma.currentPage.
data.layoutMode = “HORIZONTAL”;
data.counterAxisSizingMode = “AUTO”
data.primaryAxisSizingMode = “AUTO”
//I am trying to change some properties. and unable to do it please help.