This post is old but it’s a top Google search result.
I found similar to @Micky you may have to check the button every tick. Micky is keeping the button layout in a data structure; you can also just have buttons query themselves only.
This post is old but it’s a top Google search result.
I found similar to @Micky you may have to check the button every tick. Micky is keeping the button layout in a data structure; you can also just have buttons query themselves only.