When playing a scene this will hide the entity when the scripted animation ends on it.
Example:
entity SetHideWhenScriptedAnimationCompleted()