Skip to content

Instantly share code, notes, and snippets.

@kingthrillgore
Last active March 30, 2023 02:14
Show Gist options
  • Save kingthrillgore/8765a389bfa02488fd15b04ae8fcf338 to your computer and use it in GitHub Desktop.
Save kingthrillgore/8765a389bfa02488fd15b04ae8fcf338 to your computer and use it in GitHub Desktop.
var game_scene = get_parent().get_parent().get_parent()
var player_scene = get_parent().get_parent().get_parent().find_child("Player", true)
player_scene.global_position = player_spawn.global_position
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment