NXTTouchSensor.IsPressed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the touch sensor is pressed.
public bool IsPressed ();
member this.IsPressed : unit -> bool
Public Function IsPressed () As Boolean
Returns
true
if the sensor is pressed; otherwise, false
.