Taster
Bibliothek: | Input/Output |
Eingeführt: | 2.1.3 |
Aussehen: |
Verhalten
Outputs 0 normally; but when the user is pressing the the button using the Poke Tool, the output is 1.
Pins
A button has only one pin, a 1-bit output, which is 0 except when the user is pressing the button using the Poke Tool, when it is 1.
Attribute
When the component is selected or being added,
the arrow keys alter its Facing
attribute.
- Ausrichtung
- The location of the output pin relative to the component.
- Color
- The color with which to display the button.
- Label
- The text within the label associated with the component.
- Label Location
- The location of the label relative to the component.
- Label Font
- The font with which to render the label.
- Label Color
- The color with which to draw the label.
Verhalten des Schaltwerkzeugs
When the mouse button is pressed, the component's output will be 1. Upon releasing the mouse button, the output reverts back to 0.
Verhalten des Textwerkzeugs
Allows the label associated with the component to be edited.