Conversion
Expressions to convert number, texts and quantities. Read more explanations about it.
Actions
Convert JSON to global variable
Parse a JSON object and store it into a global variable
Convert JSON to object variable
Parse a JSON object and store it into an object variable
Convert JSON to a scene variable
Parse a JSON object and store it into a scene variable
Expressions
Expression | Description | |
---|---|---|
GlobalVarToJSON(global variable) |
Convert a global variable to JSON | |
🗄️ Global variable | The global variable to be stringified | |
LargeNumberToString(number) |
Convert the result of the expression to text, without using the scientific notation | |
🔢 Number | Expression to be converted to text | |
ObjectVarToJSON(object, object variable) |
Convert an object variable to JSON | |
👾 Object | The object with the variable | |
🗄️ Object variable | The object variable to be stringified | |
ToDeg(number) |
Converts the angle, expressed in radians, into degrees | |
🔢 Number | Angle, in radians | |
ToJSON(scene variable) |
Convert a scene variable to JSON | |
🗄️ Scene variable | Scene variable to be stringified | |
ToNumber(string) |
Convert the text to a number | |
string | Text to convert to a number | |
ToRad(number) |
Converts the angle, expressed in degrees, into radians | |
🔢 Number | Angle, in degrees | |
ToString(number) |
Convert the result of the expression to text | |
🔢 Number | Expression to be converted to text |
This page is an auto-generated reference page about the Conversion feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.