perhaps you forget GetComponent ?! hope it helps in some way
Incidentally this is a good tip …
when you get that confusing error “not possible to invoke an expression…”
Essentially - what it means is “syntax error”.
Almost always, it just means you’ve forgotten something …
you’ve forgotten an equals sign
you’ve forgotten a plus sign
like here, you’ve forgotten something like “GetComponent”
you’ve forgot the word “function” in front of where you give a function.
It’s really quite annoying and a trap for beginners. It sort of has “nothing to do with” invoking an expression whatever. (Only if you’re a very advanced programmer, or you write parsers or whatever, will you particular see what the error really “means”.)
So whenever you see that particular error, in short, assumed you have forgotten something, you’ve left out part of a line of code (often a plus sign, or similar).