xyz Can you give an example for this? Because when I have a file enemy.gd
...
# enemy.gd
class_name Enemy extends Node2D
enum Foo { red, green, blue }
# [...]
...and then try to use the enum Foo from another script I cannot access it.
# another.gd
print(Foo.red)
print(Enemy.Foo.red)
This would only result in errors. Am I missing something here?