agent.set_prop
Agent Referenceact_methodWrite a value to one of the agent's properties at the current timestep. Only available inside an act method — property formulas don't use set_prop, they return their result instead. set_prop can override values that property formulas just computed for the same timestep, so use it when behavior touches multiple properties or depends on state-machine-like logic.
Signature
agent.set_prop(name, value)
Example
// State transition
if all_predecessors_done {
agent.set_prop("state", "Active");
agent.set_prop("started_at", __timestep);
}