Skip to content

Variables copier

Copy structure and array variables.

Authors and contributors to this experimental extension: Bouh, D8H.


Copy all the children of a structure or an array into another variable.

Tip

Learn how to install new extensions by following a step-by-step guide.

Actions

Copy all object variables
Copy all object variables from one object to another.

See parameters & details
  • Parameter 1 (👾 Object): Source object
  • Parameter 2 (👾 Object): Destination object
  • Parameter 3 (❓ Yes or No): Clear the destination variable before copying

Technical note: parameters 0, 4 are internal parameters handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is ExtendedVariables::CopyAllObjectVariables.

Copy an object variable
Copy the object variable from one object to another.

See parameters & details
  • Parameter 1 (👾 Object): Source object
  • Parameter 2 (🔤 String): Variable to copy
  • Parameter 3 (👾 Object): Destination object To copy the variable between 2 instances of the same object, the variable has to be copied to another object first.
  • Parameter 4 (🔤 String): Destination variable
  • Parameter 5 (❓ Yes or No): Clear the destination variable before copying

Technical note: parameters 0, 6 are internal parameters handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is ExtendedVariables::CopyObjectVariable.

Copy a variable
Copy all the chidren of a variable into another variable.

See parameters & details
  • Parameter 1 (🗄️ Any variable): Variable to copy
  • Parameter 2 (🗄️ Any variable): Destination variable
  • Parameter 3 (❓ Yes or No): Clear the destination variable before copying

Technical note: parameters 0, 4 are internal parameters handled by GDevelop.

Technical note: this action internal type (in GDevelop JSON) is ExtendedVariables::CopyVariable.


This page is an auto-generated reference page about the Variables copier extension for GDevelop, the open-source, AI-powered, cross-platform game engine designed for everyone. Learn more about all GDevelop extensions here.