The community members indicate that a Forge Custom Block can create or set variables. The run functions typically include a variables parameter, and variables can be set using variables.set(<variable_id>, <variable_content>). A community member also provided a link to the relevant documentation.