WHATS THE PROBLEM...NULL INSTANCE ON PRESENT NODE(IT WORKED BEFORE)

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

HELP ME SOLVE THIS PLEASE

:bust_in_silhouette: Reply From: shmellyorc

your “game_over_anim” path to anim is completely wrong. If your “game.gd” script is the same area that is your game scene, you don’t need to ho through the whole tree to find it.

change “get_tree().get_root()…” to get_node(“Game over anim”)

If you want to still use get_tree()… you need to change it to: get_tree().get_root().get_node(“game/Game Over anim”)