|Topic was automatically imported from the old Question2Answer platform.
In godot you can covert a Sprite to a MeshInstance2D using a menu in the editor. What I want to know is if there is a way to do this in gdscript. I have Sprites that aren’t created till runtime that I would like to convert to MeshInstance2Ds after their creation. Is there a way to do this conversion using gdscript or is it only available through the editor?