Make a "breathing" effect,

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Chevi

I have a sprite node (A torch) with a light2D as its child, and my lighting is working. But I want the light size to grow and shrink, do I assign a timer?

Have you tried animating the energy property of the Light2D so as to make it flicker?

Ertain | 2020-09-09 03:23

I got it. I used a tween node to interpolate between the two sizes, And the movement started when the tweening ended

Chevi | 2020-09-09 03:52

:bust_in_silhouette: Reply From: Idleman

For anyone wants the same effect, beside the tween node, adding a animationPlayer node could also achieve the effect with more control of timing.