Accessing and modifying story variables via arguments in widgets

Here’s a similar thread from several months ago with a solution using the State.variables object.