cannot get tree??

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

–Player (kinematicbody)

i’m trying to call get_tree() but it returns null (from the player script)
i searched online and everybody says the node must be in scenetree but it is in it.
what do I do?

Can you show the code.

SteveSmith | 2022-10-03 20:46