It’s been two days since I search how to create a simple on off control in Pd and it was really hard to find one. Finally after hours of searching and reading internet, I found this control by Gilberto Agostinho. This abstraction (control) fits perfectly with my need which is on off control using mouse click. I’ll try to use it in my previous patch.