Local to Scene greyed out (Sprite2D)

Godot Version

4.2.2

Question

trying to make a health bar system similar to minecraft with multiple hearts representing the bar, and i wanna make the heart a scene to reuse, but i need to make the sprites for the heart local to scene so i can modify 1 heart without modifying the rest. the button is greyed out. help

edit: heres an image too if it helps

You could hide the $Heart sprite or modulate it without local to scene.

I don’t think you need to edit the texture itself, which is what Local to Scene would do for this resource.

issue is i have stages for hearts running out (full heart, 2/3 of a heart, 1/3, and empty) so hiding it wouldnt work.

You can also replace the texture resource without it being local to scene. What does your script look like?

wait i got it to fix itself all good godot was angry at me or something i just restarted it

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.