# PioneerApp function

**URL:** <https://forum.code.org/t/pioneerapp-function/40537>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-6\
**Created:** [March 12, 2025, 3:59pm UTC](https://forum.code.org/t/pioneerapp-function/40537 "2025-03-12T15:59:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shannon\_spisak](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/shannon_spisak/32/2598_2.png) [@shannon\_spisak](https://forum.code.org/u/shannon_spisak)\
**Post date:** [March 12, 2025, 3:59pm UTC](https://forum.code.org/t/pioneerapp-function/40537/1 "2025-03-12T15:59:47Z")

</div>

In Unit 6(A) Lesson 13 Bubble 8, there is a function PioneerApp that is called, but not defined. I’m assuming the definition is somehow hidden from the code students can see. I have a student who would like to use the assistive technology from this bubble in his Innovation Project, but we don’t know how to define it. Can anyone help?!

---

<div class="post-metadata">

**Author:** ![melynn](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/melynn/32/4925_2.png) [@melynn](https://forum.code.org/u/melynn)\
**Post date:** [March 12, 2025, 8:41pm UTC](https://forum.code.org/t/pioneerapp-function/40537/2 "2025-03-12T20:41:53Z")

</div>

Hi @shannon_spisak,

Hmmm…I am pretty sure _PioneerApp_ is a way to point to the object that is the app. I don’t think we can see that and that it is why it was done for us. I tried to use “this.isClicked()” but that didn’t work.

I did recreate the app so it works by just checking to see if the x & y position of the pointer is within 30 pixels or so of the of the x & y position of the first image and if it is, then using setScreen to open the right screen. Would probably need to play with my numbers but I was able to open the Victoria screen when the pointer was under the Victoria image and I clapped but not when the pointer was in the starting position and I clapped (if that makes sense). FYI - when I ran the app with the accelerometer, the pointer goes behind the buttons. I didn’t play with the order of the app elements but that should fix it. [Here is my app](https://studio.code.org/projects/applab/qx5NXGo71OcGKr9YtFBj-q5xaJcz8F3pAQd_YqY4FXQ) **without the accelerometer code** since students should be working to figure that out. But, teachers can find that code in the exemplar.

If others have ideas, please share!

Hope that helps  
~Michelle
