how to view added node when playing?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bgegg

i added child node to spawnPoint node in every 1minutes by timer.
Imgur

i can not find it in debug menu.
how to view added node?
please help this.

yes,i know i can debug it with script.
extends Spatial

spawn_point.gd

var enemy = load("res://asset/character/enemy.tscn");

var enemy_counter = 1;
onready var timer_node = get_node("Timer");


func _on_Timer_timeout():
	enemySpawn();
	enemy_counter += 1;
	if enemy_counter > 3:
		timer_node.stop();
		
func enemySpawn():
	var enemy_instance = enemy.instance();
	enemy_instance.set_name("enemy" + str(enemy_counter));
	self.add_child(enemy_instance);
	print(enemy_instance);
:bust_in_silhouette: Reply From: jgodfrey

When running your game, the editor provides access to the live scene tree. There you can “see” any nodes you’re adding at runtime. Is that what you’re after? If so:

  • Run your game
  • In the editor, just above the scene tree you’ll see two tabs labeled “Remote” and “Local” (only visible when your game is running from within the editor)
  • Click on the “Remote” tab

Now, the scene tree that’s displayed is from the live, running game and will update dynamically as nodes are added / removed / moved in the game.

jgodfrey

thanks for comment.
what i said is exactly what you answerd.
i find “remote tab” in playing.

it can be view the spawn_point child.

bgegg | 2022-04-14 02:22