[feature request] convert event to function (and back) & add pin to top of sequence

supporting.