# Godot 3.1.1 Stable -- not recognizing values in Enum

**URL:** <https://forum.godotengine.org/t/godot-3-1-1-stable-not-recognizing-values-in-enum/22367>\
**Category:** Archive\
**Created:** [August 3, 2019, 5:36pm UTC](https://forum.godotengine.org/t/godot-3-1-1-stable-not-recognizing-values-in-enum/22367 "2019-08-03T17:36:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.godotengine.org/uploads/default/original/2X/4/4b0a7fa8a6334634b94a13d421f0d99e6f04e21f.svg) [@system](https://forum.godotengine.org/u/system)\
**Post date:** [August 3, 2019, 5:36pm UTC](https://forum.godotengine.org/t/godot-3-1-1-stable-not-recognizing-values-in-enum/22367/1 "2019-08-03T17:36:52Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Attention** | Topic was automatically imported from the old Question2Answer platform. |
| 👤 | **Asked&nbsp;By** | Kyraleese |

I have the following enum in a game script:  
enum Tile {Stone, Amethyst, Emerald, Mithril, Ruby, Topaz, Gold, Background, AnimatedStone, AnimatedAmethyst, AnimatedEmerald, AnimatedMithril, AnimatedRuby, AnimatedTopaz, AnimatedGold, MoveUp, MoveRight, MoveDown, MoveLeft} print\_debugs of the enum show it is indeed empty.

But when I try to access it via Tile.Background, it fails. It used to work back when the enum was named EasyTile.

If I create a new enum and name it something like GameTile, with the EXACT SAME VALUES, it shows that there are values in it. “Ok” I think, “I’ll just switch all my accesses of Tile to GameTile and it should work”.

Now TILE has values but GAMETILE does not. ?! I’m not sure what happened, but now Godot is not recognizing an enum no mater what I do.

Your explanation is unclear. Please post the code you are using.

kidscancode | 2019-08-03 17:41
