# Does index in Map's automatically adjust indexes?

**URL:** <https://forums.unrealengine.com/t/does-index-in-maps-automatically-adjust-indexes/2478734>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint, fortnite\
**Created:** [April 27, 2025, 7:21pm UTC](https://forums.unrealengine.com/t/does-index-in-maps-automatically-adjust-indexes/2478734 "2025-04-27T19:21:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OOwouwUU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OOwouwUU](https://forums.unrealengine.com/u/OOwouwUU)\
**Post date:** [April 27, 2025, 7:21pm UTC](https://forums.unrealengine.com/t/does-index-in-maps-automatically-adjust-indexes/2478734/1 "2025-04-27T19:21:07Z")

</div>

Let say I created a map (Variable) in Blueprint and it has 4 entity if I remove the first one (index 0) does the index 1 automatically lowers itself to 0?

---

<div class="post-metadata">

**Author:** ![RedGrimnir](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/redgrimnir/32/1054683_2.png) [@RedGrimnir](https://forums.unrealengine.com/u/RedGrimnir)\
**Post date:** [April 27, 2025, 7:49pm UTC](https://forums.unrealengine.com/t/does-index-in-maps-automatically-adjust-indexes/2478734/2 "2025-04-27T19:49:21Z")

</div>

[https://dev.epicgames.com/documentation/en-us/unreal-engine/array-nodes?application\_version=4.27](https://dev.epicgames.com/documentation/en-us/unreal-engine/array-nodes?application_version=4.27)

## Remove Index

The **Remove Index** node removes an item within the array via that item’s index number. All remaining index numbers will update to close the gap.

As short answer Yes.

If you don’t want simply you can add a nullptr variable or similar to keep indexes in order. Like you can assign -1 to int array to distinguish its state.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [May 27, 2025, 7:50pm UTC](https://forums.unrealengine.com/t/does-index-in-maps-automatically-adjust-indexes/2478734/3 "2025-05-27T19:50:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
