Shapes collection (Placement node)
Enables the parent shape or control to be moved or resized. Sets or returns the position of the top of a shape in pixels.
In this example the YOffset Placement property is set to -10.
var objRect = ActiveSection.Shapes.CreateShape(bqRectangle) objRect.Name = "LeftGoal" objRect.Placement.XOffset = Field.Placement.XOffset - 10 objRect.Placement.YOffset = Field.Placement.YOffset - 10 objRect.Placement.Width = Ball.Placement.Width - 60 objRect.Placement.Height = Field.Placement.Height + 20 objRect.Fill.Color = bqBlack