✅ Solved: How Can I update ViewModel properties in JS? (Example with State Machine running)

I hate some JS and state machine working together, but I can’t figure out how to also access/update the ViewModel properties. For example at the bottom of this javascript in this codesandbox

https://codesandbox.io/p/devbox/rap-words-advanced-forked-pzvmtt?workspaceId=ws_2AtpTP8tzuduVrfh92bzzL