How do you do this in Godot 4.1?

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

I got a invalid set index rotation on base ‘null instance’ with value of type float.

Add some code to the question, so we can actually have some context of the problem. You’re probably trying to set node.rotation = value, but node is null. Check if you set the node reference correctly.

Joel Gomes da Silva | 2023-07-14 00:21