Reply To: “Global” On Mouse Down

Home Forums General Programming “Global” On Mouse Down Reply To: “Global” On Mouse Down

#120472
dnaldoog
Participant
    • Topics: 4
    • Replies: 480
    • Total: 484
    • ★★

    In a generic mousedown method/callback function, you can get the modulator userdata and the name of the modulator through comp.

    You would first get the name of the component that fired the mousedown.

    local mName=L(comp:getOwner:getName())

    and then you can do an if/else on the name passed in for example.

    See panel attached:

    Attachments:
    You must be logged in to view attached files.
    Ctrlr