[SOLVED] Question about variable

Hello, i have set this.player as script player in Player entity, but when i try to use it in a function like this.player.clickable = false; it says that the variable doesn’t exist. Why?? Tnx.

Hi @ayrin,

You have a , (comma) in the code you mention in your post, hope that’s part of the error.

It’s difficult to understand what is the issue with your description, if you can provide a code sample it will help tons.

Hello @Leonidas no, unfortunaly that’s just my type error, but i have found the problem, seems this new scripts are more accurate than legacy and small errors that was working before now doesn’t. Thanks anyway.

1 Like