API Documentation > CorelDRAW > 2025-v26 > EffectBlend > IVGEffectBlend
EffectBlend.Loop property
Gets or sets whether or not the blend loops
Syntax:
Property Get Loop() As Boolean
Property Let Loop(ByVal Value As Boolean)
Remarks:
The Loop property returns or specifies value that indicates whether the blend steps should be placed on a loop.
Examples:
The following VBA example creates a blend between two rectangles. The intermediate blend objects are rotated by 360° during the progression.
Sub Test()
Dim s1 As Shape, s2 As Shape
Set s1 = ActiveLayer.CreateRectangle2(0, 0, 3, 1)
s1.Fill.UniformColor.RGBAssign 255, 0, 0
Set s2 = ActiveLayer.CreateRectangle2(4, 4, 3, 1)
s2.Fill.UniformColor.RGBAssign 255, 255, 0
With s2.CreateBlend(s1).Blend
  .Loop = False
  .Angle = 360
End With 
End Sub