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