# How to set a limit of children in a scrollbox?

**URL:** <https://forums.unrealengine.com/t/how-to-set-a-limit-of-children-in-a-scrollbox/479542>\
**Category:** UI\
**Tags:** scrollbox, integer, unreal-engine, question\
**Created:** [February 27, 2021, 11:43pm UTC](https://forums.unrealengine.com/t/how-to-set-a-limit-of-children-in-a-scrollbox/479542 "2021-02-27T23:43:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KTMLg1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KTMLg1](https://forums.unrealengine.com/u/KTMLg1)\
**Post date:** [February 27, 2021, 11:43pm UTC](https://forums.unrealengine.com/t/how-to-set-a-limit-of-children-in-a-scrollbox/479542/1 "2021-02-27T23:43:25Z")

</div>

Im trying to make a max and a current integer variables from getting the amount of children in a scroll box and setting a max amount so no more can be added to the scrollbox.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 28, 2021, 10:35am UTC](https://forums.unrealengine.com/t/how-to-set-a-limit-of-children-in-a-scrollbox/479542/2 "2021-02-28T10:35:35Z")

</div>

Here’s what I understood from the somewhat convoluted description:

 ![331120-screenshot-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/3/bf3371dd7ba214a49ebcd873fb686f2fc8197c77.jpeg)

If that’s not it, could you clarify a bit more?

---

<div class="post-metadata">

**Author:** ![FR057Gaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FR057Gaming](https://forums.unrealengine.com/u/FR057Gaming)\
**Post date:** [November 23, 2023, 1:18pm UTC](https://forums.unrealengine.com/t/how-to-set-a-limit-of-children-in-a-scrollbox/479542/3 "2023-11-23T13:18:13Z")

</div>

Thanks for that helps a lot
