
Are we not allowed to create path objects? The documentation doesn't say. If we aren't, then there's a spelling mistake in the error message: "ERROR: Tried to create an invlid object type. See the API Documentation for valid types." var someObj = createObj("path",{
fill: "#ff0000",
width:70,
height:240,
controlledby: state.gmIdentity,
layer: "objects"
});