Hiding PromptSetFavorite

Greetings!

I recently use the avatareditorservice’s promptsetfavorite for adding a favorite modal to my game,

likeRemote.OnClientEvent:Connect(function()
	AvatarEditorService:PromptSetFavorite(GAME_ID, Enum.AvatarItemType.Asset, true)
end)

is there any way to hide the prompt after a player has favorited the game? because it seems that the prompt shows up every time, (since I hooked up the remote to the player added event).

You could utilise the GetFavourite method of AvatarEditorService, to check if the player already has it favourited (and if so, don’t prompt them again):

Thanks for the help! It seems there is a method :slight_smile: