Window that is only displayed once

Hello everyone, there is an option, so that when opening for the first time, it shows a message, they give it OK, and that window does not appear again.
Like the warning window, of Cookies that when accepting, does not appear again.
Thank you very much in advance.

1 Like

search the forum for localStorage

on sceneload:

	if(localStorage.getItem('isshown') === null)
	{
	localStorage.setItem('isshown', 'true');
	hypeDocument.triggerCustomBehaviorNamed('show');//you've got to configure this 'show' named custombehavior or do anything else ...
	}
2 Likes

Thank you very much Hans.
Blessings