![]() |
VOOZH | about |
The accelerationZ system variable is responsible for the acceleration of the device(tablets or mobile phones) along the Z-axis. It can be used in the draw() function to accelerate the device in the Z-axis of the coordinate.
Its value is represented as meters per second squared.
Syntax:
accelerationZ
Example 1:
Output:
👁 ImageExample 2: