Play any sound automatically when I got to a SET of altitude and altitude

Hi! Is there anyone who can help me please? How could I play any sound automatically when I got to a SET of altitude and latitude??

I am not the best in programming yet I just would like to help myself and get my job easier.

If anyone could help me with this then that is much appreciated.

Thank you


Do you really mean altitude and longitude? or perhaps latitude and longitude? Altitude can be one of your criteria too.

Use the LocationSensor.LocationChanged event handler to determine altitude, latitude and or longitude. LocationChanged Also use the event handler to cue a Player component (to play the music)

Use a routine like Location sensor (ringed fence / circular ringed fence) - #2 by SteveJG to establish you are at the coordinates you want to play your music. If you are within the 'ring fence' play the music; if not, do not play.

Is this what you wanted to know?

We want you to have fun with App Inventor. Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here and the aia files for the projects in the book are here:

How to do a lot of basic things with App Inventor are described here: .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials.

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU