How to get_source()?

Godot Version

Godot 4

Question

I can use function tile_set.get_source(0) here:
image
but, here that function returns null:
image

You need to show the entire code for help understand what is happening