Hold right click delete notes as soon as the mouse touch them (fl studio behavior autohotkey?)

Hello, is there some genius hack with autohotkey to set the behavior as follow in the key editor : holding right click deletes every note as soon as it touches the mouse cursor

Thanks