# Can't set Default Value to variable

**URL:** <https://forums.unrealengine.com/t/cant-set-default-value-to-variable/453566>\
**Category:** Editor Scripting\
**Tags:** Variable, default-value, unreal-engine, UE4, Blueprint, question\
**Created:** [August 8, 2019, 12:44pm UTC](https://forums.unrealengine.com/t/cant-set-default-value-to-variable/453566 "2019-08-08T12:44:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ffd9206a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ffd9206a1](https://forums.unrealengine.com/u/anonymous_user_ffd9206a1)\
**Post date:** [August 8, 2019, 12:44pm UTC](https://forums.unrealengine.com/t/cant-set-default-value-to-variable/453566/1 "2019-08-08T12:44:49Z")

</div>

Having an issue where I can’t assign a default value to this variable since it’s greyed out. Any ideas?

 ![284537-screenshot-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/9/80981a953545b26b9b3b9b4f093c3a12c989eb59.png)

---

<div class="post-metadata">

**Author:** ![CosmicLobster](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cosmiclobster/32/1211357_2.png) [@CosmicLobster](https://forums.unrealengine.com/u/CosmicLobster)\
**Post date:** [August 8, 2019, 1:21pm UTC](https://forums.unrealengine.com/t/cant-set-default-value-to-variable/453566/2 "2019-08-08T13:21:12Z")

</div>

This grey out area wants a spawned or placed-in-your-level **instance** of a character. No way to choose one in the blueprint editor. If you expect to choose something from your content browser, note that this blueprint is like a template, not an actual, “existing” instance of that character in your game yet.

It is important you understand the difference between a class in the content browser and an instance of that class in the level. Instances of a class get placed in the world (in the editor viewport) or spawned at runtime via code.

Go to the editor viewport. Place your Actor Blueprint in a level and with it selected, in the details panel you now can click on the color-picker-icon and select character instance in your level.

See here form more info: [Romero Blueprints++: Class vs Objects in Blueprints](https://romeroblueprints.blogspot.com/2014/04/class-vs-objects-in-blueprints.html)

Cheers!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ffd9206a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ffd9206a1](https://forums.unrealengine.com/u/anonymous_user_ffd9206a1)\
**Post date:** [August 8, 2019, 1:26pm UTC](https://forums.unrealengine.com/t/cant-set-default-value-to-variable/453566/3 "2019-08-08T13:26:09Z")

</div>

Got it figured out with that.

Thanks!
