from icons import Heart
Rectangle(color='pink')
heart = Heart(width=60, height=60, color='violet')
colors = ['red', 'orange', 'yellow']
for c in colors:
    with animation(duration=1):
        heart.color = c

For Loop Example 5

by jamie

Created 5 years, 8 months ago.