Type Function Return value Boolean Revision Release 2023.3686 Keywords steam, steamworks, achievements, resetUserProgress See also steamworks.resetUserStats() steamworks.*
Clears all stat data to
true if the reset request was successfully accepted by Steam.
false if the steamworks.isLoggedOn property is
Calling this function is typically only appropriate for testing purposes, as most players would not expect to lose their unlocked achievements. If you want to provide an option for users to clear only their stat data, consider using the steamworks.resetUserStats() function instead.
This does not clear the user's high scores from leaderboards.
The userProgressUpdate event will not be dispatched after calling this function.
local steamworks = require( "plugin.steamworks" ) -- Clear all stat data and lock all achievements for the currently logged in user steamworks.resetUserProgress()