OverviewExamples
boolean Hotspot.IsEnabled ( |
enabled = Hotspot.IsEnabled("Magic Area");
Stores true in a variable named "enabled" if the "Magic Area" hotspot object is enabled, and false if it is disabled.
bHot1Enabled = Hotspot.IsEnabled("Hotspot1");
Checks whether the "Hotspot1" hotspot object is enabled or disabled, and sets the bHot1Enabled 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