Script problem

So here the variable is public,but when I go to the inspector the variable isn’t there I saved the code and went back to the script and it’s still not there 8723277--1179687--upload_2023-1-11_15-52-25.png

Show us your code (using CODE tags), we can’t diagnose problems if we don’t know the symptoms, kind of like Doctors :smile:

The simplest solution for “odd behaviors” like this is to simply remove the script component and then to add it back.