OverviewExamples
boolean Tree.IsEnabled ( |
tree_enabled = Tree.IsEnabled("Tree1");
Stores true in a variable named "tree_enabled" if the "Tree1" tree object is enabled, and false if it is disabled.
bTree2Enabled = Tree.IsEnabled("Tree2");
Checks whether the "Tree2" video object is enabled or disabled, and sets the "bTree2Enabled" 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