I am honored that you have taken the time to help me. You expertise is much appreciated. The code you created:

[quote]// set
for (int counter=0; counter pxset[counter]=  x[counter];
  pyset[counter]=  y[counter];

Should it go into the initialization screen or a new tab on the custom screen? The variable "counter" will then have to be declared on the variables page and it is an array? I am unsure, but that is what I think so far. Please correct me if I am wrong. It also looks like I need to declare pxset and pyset. Are those double type variables? Then do I need to create a slider that is linked to the "counter" variable?

I understand how the basic parts of EJS work, where I am learning is how to make sense of arrays and how to link the appropriate variables to visual objects. This is very complicated, although I enjoy trying to figure out how to do it.  I am truly a novice, but I am excited to learn. This is going to help out so much in my classroom.

Thank you again for your help Lookang!!!!