what is the node path for frame in a Sprite?

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

i’m trying to add animation for a character from a sprite sheet by code and here is my code

var animation = Animation.new()

var track = animation.add_track( animation.TYPE_VALUE )
animation.track_set_path(track, "node path for frame????????" )

and i need the node path for that, some one help me

:bust_in_silhouette: Reply From: Thakee Nathees

it’s “Sprite:frame”