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 August 29, 2025 18:43
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)