setdomain message doesn't work
Hello!
I'm very new at Max MSP and its language.
I created a function object and properly connected it to a line~ object, etc. I then connected a setdomain message to the function object, but when i create this message, I don't get any sound.
Without the setdomain message I get sound when I press the button.
I'll attach a picture of my patcher. Hope someone can help me. Thanks!

you can only test if it worked, if you trigger the envelope after the change. your patch suggests that you did not do that by now.
you are triggering the message and not the function obj. You should separate the message from the trigger, or pack both by using "setdomain $1, bang" .
Use the print obj for debug, to see what you are sending.
Not your homework, is it?