how to get the value of variable with script call?

I want find the value of a variable using the script call.  whats the code for this?
Do you mean the $gameVariables you can use in the editor?


That would be


$gameVariables.value(ID);


where you replace ID with the number your variable has,
Thank you, thank you

Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-the-value-of-variable-with-script-call.55598/