[Solved] Another screenshot

Hello,
I have added the screenshot function to my game. The screenshot is saved in the pictures folder. But each time you take a screenshot the previous one is overwritten. Is there a way to save more screenshots with different names?

I figured it out in case anyone needs help, just before the name of the screenshot add a global variable that adds 1. :slight_smile:

I’d recommend adding the timestamp (using the ToString(Time("timestamp“)) expression) in the filename instead, that way it doesn’t start overwriting again after restarting the game. It can never be two times the same time so it will always have a unique name.

2 Likes