How do I read or modify the variables that come with GameObject in GDscript?

Reference Deep Dive into AGMaker: Script Snippet - Printing Variables and Switches with Specific Names - ACTION GAME MAKER / General - RPG MAKER GUILD - https://guild.rpgmakerofficial.com/