We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5767932 commit 5a744e7Copy full SHA for 5a744e7
1 file changed
tutorials/scripting/gdscript/gdscript_basics.rst
@@ -1364,7 +1364,8 @@ want to assign consecutive integers to some constant.
1364
1365
If you pass a name to the enum, it will put all the keys inside a constant
1366
:ref:`Dictionary <class_Dictionary>` of that name. This means all constant methods of
1367
-a dictionary can also be used with a named enum.
+a dictionary can also be used with a named enum. This does only work for
1368
+GDScript enums, not for enums from builtin classes.
1369
1370
.. important:: Keys in a named enum are not registered
1371
as global constants. They should be accessed prefixed
0 commit comments