Custom event in vfxgraph?

Hi!
I create a custom int attribute and accumulate it in update context,I want trigger a event to spawn particle when the int attrubute equel a value,How to do so?

Hi you can use a trigger always and condition it’s execution based the value of the attribute. Alternatively you can change the count to be 0 instead of using the enable port.

1 Like

Thank you so much. It’s really helpful!