# Strings to Enums in Blueprint. Possible?

**URL:** <https://forums.unrealengine.com/t/strings-to-enums-in-blueprint-possible/791097>\
**Category:** Blueprint\
**Tags:** ENUM, unreal-engine, Blueprint, question\
**Created:** [March 15, 2023, 6:22am UTC](https://forums.unrealengine.com/t/strings-to-enums-in-blueprint-possible/791097 "2023-03-15T06:22:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HappyKat100](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HappyKat100](https://forums.unrealengine.com/u/HappyKat100)\
**Post date:** [March 15, 2023, 6:22am UTC](https://forums.unrealengine.com/t/strings-to-enums-in-blueprint-possible/791097/1 "2023-03-15T06:22:10Z")

</div>

Hi - I have an array of names (which I could obviously convert to strings if needed) and I want to populate an enum with them. Is this possible to do in Blueprints?

Thanks!

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [March 15, 2023, 8:25am UTC](https://forums.unrealengine.com/t/strings-to-enums-in-blueprint-possible/791097/2 "2023-03-15T08:25:22Z")

</div>

Hey there @HappyKat100! Here’s a couple threads that have asked this and gotten solutions before. Hopefully these can provide some insight!

> [@String to Enum blueprint](https://forums.unrealengine.com/t/string-to-enum-blueprint/350341):
>
> Hello, is it possible to select from a String an enum, so that I give a String and get an enum in blueprint? Thanks. Jojii.

> [@Converting string to enum](https://forums.unrealengine.com/t/converting-string-to-enum/55936/8):
>
> I had exactly the same problem, exactly in the same context. Thanks to @Wobbleyheadedbob for hinting Find Option Index. [ATTACH=JSON]{“alt”:“ComboBox: From string to Enum”,“data-align”:“none”,“data-size”:“full”,“data-tempid”:“temp\_164599\_1557942614516\_64”,“title”:“checkpoints.PNG”,“caption”:“ComboBox: From string to Enum”}[/ATTACH]

---

<div class="post-metadata">

**Author:** ![HappyKat100](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HappyKat100](https://forums.unrealengine.com/u/HappyKat100)\
**Post date:** [March 15, 2023, 3:44pm UTC](https://forums.unrealengine.com/t/strings-to-enums-in-blueprint-possible/791097/3 "2023-03-15T15:44:09Z")

</div>

Thanks @SupportiveEntity. Yeah I saw the String to Enum blueprint thread but they’re not actually creating enums, rather they seem to be creating arrays from enums (I want the opposite). I’m trying to see if it’s possible in blueprints, without C++.

The ‘Set Value as Enum’ function looks like it might be a way to do it but it’s unclear how to actually use that to build items from a string/name array into an enum ??

Also, for reference I’m building an editor tool which creates an array of names based on some conditions. I want to therefore select an item from the array in the inspector rather than having to type in the name I’m looking for. So, this doesn’t happen at runtime but in the editor using a blutility.
