Indicates if the mobile element is enabled or disabled.
If enabled
is true
, users can interact with the mobile element.
If enabled
is false
, users cannot interact with the mobile element.
When an element is disabled:
onPressIn
, do not run.To set the enabled
property of a mobile element, use the element's
enable()
or disable()
functions.
The enabled
property can also be set in the Editor using the Properties and Events panel.