here is a vanilla implementation, not sure if it is the easiest way, but it works here…

thanks for the guidance matt!

simon