Can you printscreen it? I never saw that error message ever
Then you’re accessing the variable incorrectly.
Here is my sprite’s variable as a structure:
And here is the bracket usage within an action. Notice there’s no red text or underlining which would otherwise indicate an error.
The key name must be in quotes. The variable must be a structure.
And here is the sprite’s variable as an array:
And here it’s being accessed in an action:
The index must be a number.