How do you make Accelerometer use X and Y at the same time?

Hello.

I'm trying to use Accelerometer as the orientation sensor component because the orientation component isn't compatible with my tablet.

The problem is that I don't know how to get the X and Y at the same time, I just get to move the ball on the Y coordinate.


(I used the neg block to make the ball move the way the device is oriented to)

Here's the .aia file if you want to go more in detail of what I've done:
balllMovement.aia (2.2 KB)

Thanks to anyone who volunteers!

Try:

1 Like

Thanks! i just changed the speed of the ball since it was slow.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.