interaction

This commit is contained in:
Rendo 2025-12-05 10:25:31 +05:00
commit d98eb6335f
13 changed files with 145 additions and 24 deletions

View file

@ -7,8 +7,7 @@ func _ready() -> void:
text = reagent.substance.get_formula()
func _on_button_down() -> void:
return
var scene = reagent.scene.instantiate()
var scene = reagent.storage.instantiate()
if scene is DraggableObject:
scene.dragged = true
scene.mouse_in = true