# Plugging a name variable into a Map Range Clamped returns a 0

**URL:** <https://forums.unrealengine.com/t/plugging-a-name-variable-into-a-map-range-clamped-returns-a-0/410003>\
**Category:** Blueprint\
**Tags:** range, unreal-engine, Blueprint, question\
**Created:** [November 19, 2017, 6:54am UTC](https://forums.unrealengine.com/t/plugging-a-name-variable-into-a-map-range-clamped-returns-a-0/410003 "2017-11-19T06:54:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarchasm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sarchasm](https://forums.unrealengine.com/u/sarchasm)\
**Post date:** [November 19, 2017, 6:54am UTC](https://forums.unrealengine.com/t/plugging-a-name-variable-into-a-map-range-clamped-returns-a-0/410003/1 "2017-11-19T06:54:29Z")

</div>

I had a value typed into the Map Range Clamped node, but wanted to make it a named variable. I dragged out the pin for In Range B, which keeps the value I had in the field from the node. After that, everything stopped working. I tested the value it was out putting and it returns a 0.0 every time. Reverting to the node only fixed it.

![220700-image-210.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/4/d349c7176df3a82c7dc7599ffc0f970fe9e56fd2.png)

 ![220701-image-209.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/3/813ac8355828ad11c2133ebc59c010d9dc5bbd70.png)

---

<div class="post-metadata">

**Author:** ![Xelj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xelj](https://forums.unrealengine.com/u/Xelj)\
**Post date:** [November 19, 2017, 12:27pm UTC](https://forums.unrealengine.com/t/plugging-a-name-variable-into-a-map-range-clamped-returns-a-0/410003/2 "2017-11-19T12:27:06Z")

</div>

Try to check the value of the variable, maybe it is somewhere rewritten.

---

<div class="post-metadata">

**Author:** ![sarchasm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sarchasm](https://forums.unrealengine.com/u/sarchasm)\
**Post date:** [November 19, 2017, 10:03pm UTC](https://forums.unrealengine.com/t/plugging-a-name-variable-into-a-map-range-clamped-returns-a-0/410003/3 "2017-11-19T22:03:43Z")

</div>

Well, the names variable didn’t exist until it was promoted from dragging it off that pin shown in the image. Nothing else could be setting it since it hadn’t existed uet

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [November 20, 2017, 3:12pm UTC](https://forums.unrealengine.com/t/plugging-a-name-variable-into-a-map-range-clamped-returns-a-0/410003/4 "2017-11-20T15:12:56Z")

</div>

Hello sarchasm,

After running a few tests on our end, I was unable to reproduce this issue. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

1. Can you reproduce this issue in a clean project?
2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
3. Could you provide screen shots of any settings/blueprints that may be involved with this issue?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [November 28, 2017, 1:50pm UTC](https://forums.unrealengine.com/t/plugging-a-name-variable-into-a-map-range-clamped-returns-a-0/410003/5 "2017-11-28T13:50:54Z")

</div>

Hello sarchasm,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Thanks,
