HaxeFlixel / OpenFL - Pause the game

Hey, I’m working on a relatively simple Haxe & Haxeflixel 2D game and I’ve encountered problem. I want to add a ‘pause’ button so that the player can pause the game. I’ve looked up the docs and I haven’t found any way to pause a haxeflixel game . I’m a Flixel beginner, so I’m sorry if I lack some elementary knowledge. Any help would be appreciated