Skip to content

Instantly share code, notes, and snippets.

View chemscobra's full-sized avatar

Gustavo Leon chemscobra

  • Sun Pixel Studios
  • Santiago
View GitHub Profile
@gruebite
gruebite / example.gd
Last active July 31, 2025 23:22
Godot scene instantiation from class_name
extends Node
func _ready() -> void:
# MyScene is a `class_name` in a `.gd` script with an associated `.tscn` file
var scene = Instantiate.scene(MyScene)
add_child(scene)