Main |
Name | Description | Values Accepted | Default |
ImageData | Image data, typically an object. | Object. | - |
Visibility and Interaction |
Name | Description | Values Accepted | Default |
Enabled | Enable interaction in this panel. | Boolean (True/False), variable, or constants true or false. | False |
OnPress | Action to invoke when the element is pressed. | JavaScript code for the action. | - |
OnDrag | Action to invoke when the element is dragged. | JavaScript code for the action. | - |
OnRelease | Action to invoke when the element is released. | JavaScript code for the action. | - |
OnEnter | Action to invoke when the element is entered. | JavaScript code for the action. | - |
OnMove | Action to invoke when the element is moved. | JavaScript code for the action. | - |
OnExit | Action to invoke when the element is exited. | JavaScript code for the action. | - |
Graphical Aspect |
Name | Description | Values Accepted | Default |
Visible | Visibility of the element. | Boolean (True/False), variable, or constants true or false. | True |
Display | CSS display of the element. [Learn More](https://developer.mozilla.org/en-US/docs/Web/CSS/display) | CSS display values like block, inline-block, flex, inline-flex, etc. Example: Use a boolean variable for "inline-block" or "none". | True |
Width | Element width in pixels (px) or as a percentage (%). [Learn More](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units) | Example: 800px or 100%. | 400px |
Height | Element height in pixels (px) or viewport height (vh). [Learn More](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units) | Example: 800px or 90vh. | 300px |
Background | Background color for the element. Use the editor provided or read about colors. | - | White |
Foreground | Color for drawing or writing in the element. Use the editor provided or read about colors. | - | Black |
Font | Font for displaying text in the element. Select name, style, and size using the editor. | - | - |
Tooltip | Text displayed when the mouse is over the element. | String constant or variable. | none |
CSS | CSS to apply. | - | none |
Transform | CSS transform string. [Learn More](https://developer.mozilla.org/en-US/docs/Web/CSS/transform) | Example: rotate(0.5turn) | none |