What is the best way of code an AnimatedSprite with Shader & Color Rect?

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

I’ve trying to code and have an background with a pulse shader animated for an settings scene of audio & video!
and if someone have an gdscript code or an way that can help me plz, plz respond.
here is a preview of my code at the AnimatedSprite!
shader code

image of the code: music-notes hosted at ImgBB — ImgBB