<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>unreal engine 4 enum Archives - Couch Learn</title>
	<atom:link href="https://couchlearn.com/tag/unreal-engine-4-enum/feed/" rel="self" type="application/rss+xml" />
	<link>https://couchlearn.com/tag/unreal-engine-4-enum/</link>
	<description>Detailed Game Programming Tutorials</description>
	<lastBuildDate>Sat, 25 Jan 2025 17:33:17 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>

<image>
	<url>https://couchlearn.com/wp-content/uploads/2020/05/cropped-logolarge-32x32.png</url>
	<title>unreal engine 4 enum Archives - Couch Learn</title>
	<link>https://couchlearn.com/tag/unreal-engine-4-enum/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Enums in Unreal Engine 4 Blueprints</title>
		<link>https://couchlearn.com/enums-in-unreal-engine-4-blueprints/</link>
					<comments>https://couchlearn.com/enums-in-unreal-engine-4-blueprints/#respond</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Tue, 14 Jul 2020 14:43:15 +0000</pubDate>
				<category><![CDATA[Easy Difficulty]]></category>
		<category><![CDATA[UE4 Basics]]></category>
		<category><![CDATA[Unreal Basics]]></category>
		<category><![CDATA[Unreal Engine]]></category>
		<category><![CDATA[enum]]></category>
		<category><![CDATA[ue4]]></category>
		<category><![CDATA[ue4 enum]]></category>
		<category><![CDATA[ue4 enums]]></category>
		<category><![CDATA[unreal engine]]></category>
		<category><![CDATA[unreal engine 4]]></category>
		<category><![CDATA[unreal engine 4 enum]]></category>
		<guid isPermaLink="false">https://couchlearn.com/?p=1000</guid>

					<description><![CDATA[<p>In this guide we will be going over what Enums are in Unreal Engine 4 and how they are used in engine. What is an <a class="mh-excerpt-more" href="https://couchlearn.com/enums-in-unreal-engine-4-blueprints/" title="Enums in Unreal Engine 4 Blueprints">[...]</a></p>
<p>The post <a href="https://couchlearn.com/enums-in-unreal-engine-4-blueprints/">Enums in Unreal Engine 4 Blueprints</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this guide we will be going over what Enums are in Unreal Engine 4 and how they are used in engine.</p>



<h3 class="wp-block-heading">What is an Enum?</h3>



<p>An Enum (also known as Enumeration) is used to give names to integer values.<br><br>For example, a basic game menu state can be represented as names and programmed as integer numbers.<br><br>&#8211; 0 = Mainmenu<br>&#8211; 1 = Game<br>&#8211; 2 = Pause<br>&#8211; 3 = Gameover<br><br>All game engines can use enums as they are a basic programming feature. Unreal engine can use enums in c++ and blueprints. <br><br>In the next section we will be creating our own Enum in Unreal Engine 4 Blueprints.</p>



<h3 class="wp-block-heading">Creating the Enum</h3>



<p>Firstly, right click the content browser and hover over the blueprints tab. <br><br><strong>Click the Enumeration button to make the enum.</strong></p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="774" height="413" src="https://couchlearn.com/wp-content/uploads/2020/01/image.png" alt="Creating the new enum asset" class="wp-image-1010" srcset="https://couchlearn.com/wp-content/uploads/2020/01/image.png 774w, https://couchlearn.com/wp-content/uploads/2020/01/image-300x160.png 300w, https://couchlearn.com/wp-content/uploads/2020/01/image-768x410.png 768w" sizes="(max-width: 774px) 100vw, 774px" /></figure>



<p>Secondly, add the names that you need for your enum.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="316" height="285" src="https://couchlearn.com/wp-content/uploads/2020/05/image-5.png" alt="Adding new values to the enum" class="wp-image-1176" srcset="https://couchlearn.com/wp-content/uploads/2020/05/image-5.png 316w, https://couchlearn.com/wp-content/uploads/2020/05/image-5-300x271.png 300w" sizes="(max-width: 316px) 100vw, 316px" /></figure>



<p>In this example we will be using mainmenu, game, pause and gameover.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="465" height="388" src="https://couchlearn.com/wp-content/uploads/2020/05/image-6.png" alt="All the values added to the enum for this guide" class="wp-image-1177" srcset="https://couchlearn.com/wp-content/uploads/2020/05/image-6.png 465w, https://couchlearn.com/wp-content/uploads/2020/05/image-6-300x250.png 300w" sizes="(max-width: 465px) 100vw, 465px" /></figure>



<h3 class="wp-block-heading">Using the Enum</h3>



<p>Lastly, with your new ENUM we can trigger different logic based on the value.<br><br>This can be done easily using a switch node. <br><br>Right click in any blueprint class and type &#8220;Switch on YOUR-ENUM-NAME&#8221;. In this case the node is called &#8220;Switch on gamestate&#8221;.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="807" height="587" src="https://couchlearn.com/wp-content/uploads/2020/07/image.png" alt="Running different blueprint nodes based on the enum gamestate" class="wp-image-1187" srcset="https://couchlearn.com/wp-content/uploads/2020/07/image.png 807w, https://couchlearn.com/wp-content/uploads/2020/07/image-300x218.png 300w, https://couchlearn.com/wp-content/uploads/2020/07/image-768x559.png 768w" sizes="(max-width: 807px) 100vw, 807px" /></figure>



<p><a href="https://couchlearn.com/switch-statements-in-unreal-engine-4/"><strong>If you don&#8217;t know how to use switch nodes check out our guide here.</strong></a></p>



<h3 class="wp-block-heading">Conclusion</h3>



<p>Now you have a working blueprint enum in Unreal Engine 4!<br><br>Even though this guide is short, We felt it was essential as there are very few guides for creating and using enums in blueprints.<br><br>Enums are extremely useful and most projects have many uses.<br><br>In future guides we will be using enums frequently which is why this guide is important for the future content of the site!<br><br>If you have any suggestions for future guides and projects, let us know by sending a comment below or by <a href="https://couchlearn.com/contact-us/">contacting us.</a><br><br><strong>Further Resources</strong>:<br><a href="https://couchlearn.com/contact-us/">Unreal Engine 4 official enum video (2014)</a><br><a href="https://couchlearn.com/switch-statements-in-unreal-engine-4/">Our guide on Switch nodes in Unreal Engine 4</a></p>
<p>The post <a href="https://couchlearn.com/enums-in-unreal-engine-4-blueprints/">Enums in Unreal Engine 4 Blueprints</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://couchlearn.com/enums-in-unreal-engine-4-blueprints/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: couchlearn.com @ 2026-04-15 22:46:41 by W3 Total Cache
-->