# Leader key limits?

**URL:** <https://community.keyboard.io/t/leader-key-limits/6369>\
**Category:** Programming\
**Created:** [May 14, 2023, 10:29am UTC](https://community.keyboard.io/t/leader-key-limits/6369 "2023-05-14T10:29:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moilleadoir](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/moilleadoir/32/4122_2.png) [@Moilleadoir](https://community.keyboard.io/u/Moilleadoir)\
**Post date:** [May 14, 2023, 10:29am UTC](https://community.keyboard.io/t/leader-key-limits/6369/1 "2023-05-14T10:29:53Z")

</div>

Is there a limit to the number of leader keys you can define? I was experimenting with it a while back, but everything after LEAD(7) is ignored. I tried changing the subroutine for LEAD(8) to a lower number and it executes fine.

Does it make any difference when the plugin is loaded?

My sketch uses 18% of storage & 22% dynamic memory. Ideally it would have at least 13 leader keys.
