i need savescreen and still ui

how i can savescreen gameplay and still ui i can savescreen only playscreen no UI
i try use bugscreenshot command is save all screen program unreal not only in gameplay
i need solution to savescreen gameplay+ui

i need use funtion for savescreen not printscreen