Invalid assignment of property or key 'sensitivity' with value of type 'int' on a base object of type 'Node3D'

Godot Version

Godot_v4.5

Question

This gets so annoying but does anyone know why this is happening? I feel like it might have to do with the nodes in the scene but i gen cant figure out which or how, and mostly why “sensitivity” is an issue.

The error means that the node you’re accessing doesn’t have the sensitivity property. So you either got a wrong node or you didn’t attach a script to the node that defines this property.

1 Like

ahh that’s true I have a different script in my player code and there isn’t sensitivity and I can’t really find which one it is either, but even with that I was aiming to make a dialogue system where approaching another character shows a dialogue but even after twisting some things and not having errors the dialogue option doesn’t activate at all, so I doubt it would work even after fixing this problem and I’ve ran through everything already and rewatched the video an ungodly amount of times to see where I could’ve messed up and yet it still doesn’t work somehow so I assume the problem might come from the player script since it’s from a separate video

Specifically, your code is looking for a sensitivity variable on the “camera_mount” node, not the player itself.