Forum Discussion
Arystian-Inglot
7 years agoCommunity Member
[JS] SET OBJECT POSITION
Hello,
is it possible to set an object position (x,y) using javascript when, for example, user clicks the button?
RobShaw-576b151
3 years agoCommunity Member
Hi Math,
I came across your example for moving an object using x/y values.
How would I go about moving multiple objects. I have tried grouping layers and using the array ref for the grouped layer, but it will only move the first layer in the group and not all the others.
Would a while loop be able to go from layer 3 to 50, for example and then move all the objects on those layers?
Example code would be great if you're willing to look at this, I know this is an old thread...
R
MathNotermans-9
3 years agoCommunity Member
I mock up some better explanation tomorrow, but yes its possible.
Using the same acc-name for all elements and loop them and they will all animate.
Do check my samples im quite sure there is on showing this.
If not i mock up something tomorrow.
Related Content
- 6 months ago
- 11 months ago