It's possible you might be thinking of:
* "The Conjuring" (2013) and "The Conjuring 2" (2016): These horror films feature a scene with a young girl playing the Bloody Mary game, but this is a minor part of the larger storyline.
* "Urban Legend" (1998): This horror movie features a scene inspired by the Bloody Mary legend, but it's not the central focus.
* "Mirror, Mirror" (2012): This dark fantasy film features a villainous queen named Queen Clementia, who could be seen as a modern interpretation of a Bloody Mary-like figure.
While there are no movies directly centered around the Bloody Mary legend, the legend has influenced many horror movies and continues to inspire filmmakers.