Uhh..Mary said yes to God...she didn’t have to...so yes she did play a part...are you implying that if Mary had said no, that God would have just ...kept on trying till someone said yes?...
Mary did not say yes.
Mary simply listened to Gabriel and trusted that what he said was true. Read the gospel.