Trigger event instead of setting a variable.