I solved my own issue with trying to modify an element and store data inside of a RG from outside of it…With no plugin. So I just wanted to share it.
Ps. This is for an onboarding flow, and I needed to collect the data and at the same time change the format of the buttons when it is clicked.