Issue with setting the number of vertices of a polygon every repeat

PsychoPy 2023.1.2

Description of my problem: I’m trying to update the number of vertices of a regular polygon every iteration of a loop but I get this error: “I don’t know the appropriate default value for a ‘nVertices’ parameter. Please email the mailing list about this error”. I tried finding the location of this parameter to change it myself but no luck so far.