Novelty scripting reference > Scripted object events > OnHide

OnHide

This event is called during an object's disappearance.

Hint: By setting the time property of a Change visibility action (Hide), this event will be called for that amount of time when that action is triggered.

Parameters

Parameter Description Type
self Handle to the associated object Object@
value Progress of disappearance [0..1] float


Example

event FadeOut.OnHide
{
	// Fade out object 
	self.SetOpacity(invert(value));
}

Back to top