I want to change my frame sprite from my another script

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

So i have a area2D and in it i have a sprite and i want to change the frame of sprite from the area2d script.

:bust_in_silhouette: Reply From: skysphr
$Sprite.frame = something

?

but that will not work in the area2d script

joker64z | 2022-01-28 11:28