How do i refernece the value of a variable in a script call?

Hi! I need help referencing my variables in script calls, can't find anywhere how to do it? (weird, because i think it's pretty common to do that)

In MV it's: $gameVariables.value(ID);

But what is it for vx ace?

Thanks!
In vx ace its like this: $game_variables[ID]
obraz_2023-02-05_121508009.png

Hope I helped 👍
DawoleQ is right about the variables.

Here's the code for the switches.

Ruby:
$game_switches[1]
Thanks a lot!
In vx ace its like this: $game_variables[ID]
View attachment 252538
Hope I helped 👍

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-refernece-the-value-of-a-variable-in-a-script-call.154705/