After spending far too long on it, I'm throwing in the towel. What is wrong w/ this code? All I want to do is create a solid red rectangle. I'll modify it later to be dynamic. When my script executes, it creates an invisible object of the correct size. I'm guessing my path is incorrect, but I don't know how to fix it. createObj("path", {
pageid: Campaign().get("playerpageid"),
path: [["M", 0, 0],["L", 0, 70],["L", 70, 70],["L", 70, 0],["L", 0, 0]],
fill: "#ff0000",
stroke: "#ff0000",
layer: "objects",
stroke_width: 5,
width: 70,
height: 70,
top: 270,
left: 270,
}); Thanks!