When you create variable, you need to make sure it’s correct type and that it is Editable:
After you compile Blueprint, variable will appear in its Details: