OverviewExamples
boolean Video.IsEnabled ( |
intro_video_enabled = Video.IsEnabled("Intro Video");
Stores true in a variable named "intro_video_enabled" if the "Intro Video" video object is enabled, and false if it is disabled.
bVideo2Enabled = Video.IsEnabled("Video2");
Checks whether the "Video2" video object is enabled or disabled, and sets the "bVideo2Enabled" variable to either true or false accordingly.
Tip: Starting a variable name with "b" is a technique that programmers use to help themselves remember that a variable contains a boolean value.
See also: Related Actions