That's available natively in Game Maker. I hide that functionality away for the sake of simplicity but you can easily edit the functions to provide those arguments.