OverviewExamples
number Button.GetState ( |
Mustard = Button.GetState("Mustard Valve");
Gets the current state of the "Mustard Valve" button object and stores the result in Mustard.
music_on = Button.GetState("Music Toggle");
Gets the current state of the "Music Toggle" button object and stores the result (0 or 1) in music_on.
See also: Related Actions