Looking for "event" button on Cabbage

Iv’e been moving back and forth between CsoundQT and Cabbage.
I found this button in CsoundQT that can generate an event to the score. Unfortunatelly I can’t seem to find how to do the same in Cabbage. Any idea?Screenshot 2022-02-22 102023

Just trigger an event if the button is pressed:

(...)
button channel("eventButton") 
(...)

instr 1
    kEBtn chnget "eventButton"
    if changed(kEBtn) == 1 then
        event "i", 2, 0, 1
    endif
endin

You can also use the schedule opcodes.

1 Like

Awesome, thank you so much!