Skip to content

Variables/References

Adds references and pointers for variables.

Authors and contributors to this community extension: arthuro555.

Warning

This is an extension made by a community member — but not reviewed by the GDevelop extension team. As such, we can't guarantee it meets all the quality standards of official extensions. In case of doubt, contact the author to know more about what the extension does or inspect its content before using it.


Adds actions to use references (variable that redirect any read/write to another variable) and pointers (unique numbers identifying a variable that can be resolved to a reference). Some usages are for callback variables in events based functions (getting a variable with a fixed name referring to a variable with a name passed as parameter), pointers to make advanced data structures like linked lists, and getting a top level variable dynamically.

Tip

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

Actions

Create reference to global variable
Transforms a scene variable into a reference to a global variable.

Create reference to object variable
Transforms a scene variable into a reference to an object's variable.

Create reference to scene variable
Transforms a scene variable into a reference to another scene variable.


This page is an auto-generated reference page about the Variables/References extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.