Alternative to $EventData when using buttons, OnClick and Transfer Lists?

Product: PowerShell Universal
Version: 1.4.6

Is there a way to handle this when someone clicks a button with New-UDButton.

Thanks

For example with New-UDForm the button appears outside of the card

I am instead using the stepper

I guess you could use Get-UDelement