# How put a Select node with Linear Color list - into a Component to call that list of colors?

**URL:** <https://forums.unrealengine.com/t/how-put-a-select-node-with-linear-color-list-into-a-component-to-call-that-list-of-colors/758489>\
**Category:** Blueprint\
**Tags:** select, data-table, unreal-engine, Components, question\
**Created:** [January 28, 2023, 6:55am UTC](https://forums.unrealengine.com/t/how-put-a-select-node-with-linear-color-list-into-a-component-to-call-that-list-of-colors/758489 "2023-01-28T06:55:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![XxNotAGamerxX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XxNotAGamerxX](https://forums.unrealengine.com/u/XxNotAGamerxX)\
**Post date:** [January 28, 2023, 6:55am UTC](https://forums.unrealengine.com/t/how-put-a-select-node-with-linear-color-list-into-a-component-to-call-that-list-of-colors/758489/1 "2023-01-28T06:55:01Z")

</div>

UE4.27  
I have a Select Node with a list of Linear Colors (that I keep adding to/editing as I make changes).  
Yet this [same list of colors] is referenced in many actors. Thus [instead of copying the new list in each actor as it changes,] I want to make 1 list/Component that I can put in each Actor, and pull the same [color list].

So how do I put this Select Node into a Component (part in yellow box), and how to call the full list by Actor code (parts in teal boxes)?

 ![Linear Color Switch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/9/3893d869a6a004820b6692a5f9f6003449652f61.png)

- (Im not sure how to use a CastTo, without having to pull off 19 options - I dont want to do that. I only want the Actor BP to access the Input and Output from the Component. Thus each Actor doesnt need to edit the Color list - I only need to edit the list in Component once.)
- (Also I prefer to use the Select node to edit the colors, because it’s easier to see than putting a Linear color # value in a DT. This is why Im using the Select Node; then putting the Int of the Color to call - in a DT.)  
Ty

---

<div class="post-metadata">

**Author:** ![Supremative](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/supremative/32/906564_2.png) [@Supremative](https://forums.unrealengine.com/u/Supremative)\
**Post date:** [January 28, 2023, 10:24am UTC](https://forums.unrealengine.com/t/how-put-a-select-node-with-linear-color-list-into-a-component-to-call-that-list-of-colors/758489/2 "2023-01-28T10:24:26Z")

</div>

You could use the blueprint function library in this case.

1. Create a library

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/8/3483d7474064c2951c1071bb0bf862c202d10b75.jpeg)

1. Add your function

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/5/715ed210caa2aff2d67b21cf2484af449f0db9b9.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/8/a285a2fa22d39ae3b17a8d85caab7c433e549573.jpeg)

1. Access this from any actor or component in your project

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/d/31de2c92635c15b84108442b6270bd6aaea562e4.png)

I hope it’ll be helpful to you.

[My Products](https://www.unrealengine.com/marketplace/en-US/profile/Aleksandr+Sidorov)

---

<div class="post-metadata">

**Author:** ![XxNotAGamerxX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XxNotAGamerxX](https://forums.unrealengine.com/u/XxNotAGamerxX)\
**Post date:** [January 28, 2023, 10:33pm UTC](https://forums.unrealengine.com/t/how-put-a-select-node-with-linear-color-list-into-a-component-to-call-that-list-of-colors/758489/3 "2023-01-28T22:33:04Z")

</div>

Thanks! - for the steps and detailed pics. This is exactly what I needed; and my first Function setup tutorial, will solve a lot of problems for me (ways to avoid CastTo).

1. You look like a color pro, another question: What do you know about this color haxing and if there’s any Cons of using it? (E.g. it won’t stick after Compile game project?)

- I have Blue colored textures (white base x Blue linear color). But my game lighting will have normal and dark lighting.

- Thus I want the blue to always been seen easier in darkness (lack of lighting), without changing Emission. Thus in the color code, I multiply the Vibrance to 4 instead of default 1.  

- The Engine displays this as Blue with light streaks; and in game it seems to make the Blue brighter even in dark-lit maps.

- But back in the Editor, if I copy a Boosted Hex color, and paste it in a new variable, the same hex looses its Vibrance boost (minor setback, I can manually recreate the increased R, G, B percentages that equal the total V boost/same Hue).

- But is there any other Con to hacking the colors like this? The boost sometimes gets reset in the Editor if I click the color box, then click cancel \> it turns into a normal Blue.

1. PS 2: What program do you use to make your arrow annotations? They look cleaner. Ty 🙂

---

<div class="post-metadata">

**Author:** ![Supremative](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/supremative/32/906564_2.png) [@Supremative](https://forums.unrealengine.com/u/Supremative)\
**Post date:** [January 29, 2023, 3:59am UTC](https://forums.unrealengine.com/t/how-put-a-select-node-with-linear-color-list-into-a-component-to-call-that-list-of-colors/758489/4 "2023-01-29T03:59:17Z")

</div>

1. Perhaps the post-process will help you.

2. I use Lightshot.
