user input in script files

I'd like to run a script that rotates objects in 3D, but i want the script to pause to allow me to select the object on screen that
defines the rotation axis for each entity. is it possible to include this kind of user input into script files?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
HiHo; Read "pause" in the help section.

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.