MCPcopy Index your code
hub / github.com/4ian/GDevelop / setVar

Function setVar

GDevelop.js/__tests__/GDJSDisabledCodeGenerationIntegrationTests.js:24–27  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

22 ];
23
24 const setVar = (name, value) => ({
25 type: { value: 'ModVarScene' },
26 parameters: [name, '=', String(value)],
27 });
28
29 const addVar = (name, value) => ({
30 type: { value: 'ModVarScene' },

Callers 2

stdFunction · 0.70
elseEvFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected