Special Transition: Focus
Often, you'll need to do a lot of typing in order to travel to a particular thing. There's a special transition called the focus transition that you can use to "save your place", so that you don't have to do lots of typing if you need to do multiple things there.
Places you can travel to:
- focus
- Test: state.isfocus
- travels to the pick context that's been assigned as the focus
Instructions you can give:
- setfocus
- Only available in a pick context
- Sets the focus to this pick
- state.clearfocus
- Available from all contexts
- Clears the focus if it's been set (and does nothing if no focus was set).