how to get value of getPosition();
by Selin · in Technical Issues · 10/23/2011 (1:26 am) · 1 replies
I have the code below:
$obj_borderPOSX=$borderArray[%this.noArray].border.getPositionY());
borderArray is an array. I can't get the value of the array. is this statement wrong?
$obj_borderPOSX=$borderArray[%this.noArray].border.getPositionY());
borderArray is an array. I can't get the value of the array. is this statement wrong?
About the author
Torque 3D Owner Ted Southard
Also, whether it's wrong depends on what $borderArray is. Is it a GUI object or what? If it's a set of values, then calling .border.getPositionY() won't work, and getPositionY() doesn't exist (getPosition() does though). More information (and a general statement of what you're trying to accomplish) would help us help you :)