hey,
I'd like to share an example I've adapted from Uppernate (BartekB) 's help on Discord. This might be useful to someone..

This one uses multiple actives as cards
Solitaireengine_0.mfa

Original example uses one active only..
DestroyCardOnlyWhenAtFront.mfa