how to know what the current scene is?

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

how to know which scene is running?

:bust_in_silhouette: Reply From: Nitsuga

use:get_tree().current_scene.name, this returns you the name of the current scene