DYK fact/did you know the contextmenuitemsource component is both
From Resonite Wiki
More actions
... did you know? The `ContextMenuItemSource` component is both a button event receiver as well as a button event sender. When it receives a button event, it proxies it. This is used by the context menu to send button events from the button on the generated UIX canvas back to the `ContextMenuItemSource` that created it. But you can also use this for other things, like having a single `ButtonEvents` ProtoFlux node handle events of multiple different buttons! (You just need to relay the button events from each button to the slot of the `ContextMenuItemSource` you're using. In 99% of cases it's better to just use dynamic impulses for this though.)