Godot Version
4.5
So basically i want to clone a sprite at whatever position the sprite is, and itll stay there.
is there a way to do that easily?
any help is appreciated
-Quinn Jusufi <3
4.5
So basically i want to clone a sprite at whatever position the sprite is, and itll stay there.
is there a way to do that easily?
any help is appreciated
-Quinn Jusufi <3
func duplicate_sprite(sprite_2d: Sprite2D) -> Sprite2D:
var new_sprite_2d: Sprite2D = sprite_2d.duplicate()
add_child(new_sprite_2d)
return new_sprite_2d