![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | MemokingMH |
I just want to create a tween using this code
var tween = get_tree().create_tween().bind_node(self)
but I get this error
“Cannot call method ‘create_tween’ on a null value.”
I couldn’t find any answers to the problem online so I came here
If get_tree()
is returning a null value, it means the node isn’t in the SceneTree
.
spaceyjase | 2023-03-18 19:39