onswitchoff

“onswitchoff” specifies the script to run after the object is switched off.