## scale_trigger.py Records when the animal steps on and off the box scale as `ScaleOn`/`ScaleOff` events in the trial data of any running task. {download}`Download scale_trigger.py ` ```{literalinclude} files/scale_trigger.py :language: python ```