action · ui.action.work
work.cancel
Requests cancellation of the selected actor's current Work assignment.
ui.action.work.cancel
- Stable ID
ui.action.work.cancel- Owner
- controls.ControlState
- Authority
- presentation
- Timing
- immediate
- Availability
- Phase 16D player direction
- Side effects
- Invokes the package action callback; gameplay requests still use commands.
- Determinism
- Action identity is stable and independent of physical input.
- Introduced
- 1.5.0
Usage
Cancel the selected villager's current live player assignment.
Parameters
- None
Returns
No direct value; the package handler submits command.work.cancel.
Cost
One action callback, one indexed query, and one command submission.
Fields
This symbol has no fields.
Errors
Examples
ui.button("Cancel", "ui.action.work.cancel", "Cancel this assignment", 1)
API history
- 1.5.0: Standard Work cancellation action added.