Builtin function TakeScreenshot support savepath and sync params.