godot versio 4.4.1
i was following a tutorial, at one point i had to make a code to get te camera to follow the charapter. the code did not work, and and the video comment told to edit the code, the red thing got away. The i tried to test the game and it didnt work. the error thing sayed invalid acces to property or key transform on a base object of type null instance
You’re trying to access “transform” of a Thing, but Thing is null.
ok, u know how to change it?
The answer is, unfortunately, simply “ensure it is not null when you access the property”.
In the simplest form it’s something like “if MyThing is not null”, sometimes a design change might be in order. It’s impossible to say.
Can you post the code that’s showing the error? Put it in backticks:
```gdscript
code code code
code code code
code code code
```
That’ll make it format nicely.
$CameraController
either doesn’t exist, or is empty. I don’t see it in your scene tree…