Pattern backgrounds with Auto layout

Hello there! I am relatively new to FIGMA and I’m working using Auto layout to organise my elements more efficiently and quickly add/remove objects. For my current project, I wanted to add a dotted pattern to the background of some of my frames. These frames themselves have also been build with Auto layout. I have used the FILL property to add a solid background to the Auto layout frames before. However, now that I want to add a pattern, I have no idea how to do it with Auto layout. Is there a way of achieving this?

Thank you all for your help!