- Edited
Hi, I've been having a problem recently, I want to change the color of a sprite in Godot through scripts and have tried looking at a lot of tutorials but whenever I try I get this error message "Invalid set index 'modulate' (on base: 'null instance') with value of type 'float'." I am probably making some dumb mistake but cant figure out what, pls help, thanks.