# How to make a door requied more keys than 1?

**URL:** <https://forums.unrealengine.com/t/how-to-make-a-door-requied-more-keys-than-1/1995003>\
**Category:** Blueprint\
**Tags:** unreal-engine, door, Blueprint, question\
**Created:** [August 28, 2024, 8:34am UTC](https://forums.unrealengine.com/t/how-to-make-a-door-requied-more-keys-than-1/1995003 "2024-08-28T08:34:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henys1231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Henys1231](https://forums.unrealengine.com/u/Henys1231)\
**Post date:** [August 28, 2024, 8:34am UTC](https://forums.unrealengine.com/t/how-to-make-a-door-requied-more-keys-than-1/1995003/1 "2024-08-28T08:34:20Z")

</div>

Hi,how do I adjust it so that the player opens the door only when he has a certain number of keys? For example 7? Please, I need help, now I have it set to take the key and when he approaches the door, it will open, these are my blueprints:

> **[Screenshot](https://prnt.sc/dLpPwR-m_jCD)**
>
> Captured with Lightshot

> **[Screenshot](https://prnt.sc/OZNv8ZoVoRVI)**
>
> Captured with Lightshot

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 28, 2024, 8:58am UTC](https://forums.unrealengine.com/t/how-to-make-a-door-requied-more-keys-than-1/1995003/2 "2024-08-28T08:58:39Z")

</div>

Instead of a bool ‘has key’, use an integer, the number of keys.
