# groupvar
## Syntax:
/groupvar **{group} {key} {value}**
## Use Case:
Sets a group-scoped variable that any session can read. Group variables survive individual sessions being opened or closed.
## Arguments:
- **{group}**: The delegation group name (e.g., A, Tanks, Healers).
- **{key}**: The variable name.
- **{value}**: The value to store.
## Examples:
1. **/groupvar {A} {healingtarget} {Jimmy}**
2. **/groupvar {Tanks} {formation} {defensive}**
## See Also:
groupvars, ungroupvar, @groupvar, G_CrossSessionData
