As mentioned above, avoid using booleans for this. I feel you’ll immediately hate it.
Look into how enumeration works. When the player receives a callback (look into dispatchers) from the chosen ability widget, they can do something along the lines of:

And you can then add damage to the gun, or increase grenade limit.
If you MUST use booleans, sure it can be done. Declare one in the widget - but then you need to develop an ID system to know which button is sending which boolean. And if you cannot / don’t want to have an ID system, you must make 20 widgets, and we’ve made a full circle.