Variables - ellis-matthew4/XDL GitHub Wiki

As of version 1.2.0, you can declare variables. Variables in SukiGD are heavily limited. You cannot use expressions, only assignments. Also, upon reading another script file into the Godot Interpreter, all of your variables will be overwritten. These are only meant to be used for flags or enumeration, as all calculation and logic should be done from within Godot.

The Syntax is as follows:

var [Name] = [Value]
var k = true

These values can then be obtained by calling SukiGD.get(Name) in Godot:

SukiGD.get(k) -> true