Move object continously with script

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
ilovebeijer
Posts: 18
Joined: Thu Dec 06, 2012 8:37 am

Move object continously with script

Post by ilovebeijer »

Hi all!
Could you tell me how to move object continously with script, please?
I want to move a object from A to B, to C, to D point, or move object along circle.
Thank you so much!

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Move object continously with script

Post by mark.monroe »

Most iX objects have a "Left" and "Top" property which you can use to move them around.

this.Ellipse1.Left += 1;
this.Ellipse1.top += 1;

Also, under an object's dynamics setting there is normally a "Move" dynamic that you can use to move objects around on the screen.
Snap 2013-08-07 at 07.59.16.jpg
Snap 2013-08-07 at 07.59.16.jpg (46.47 KiB) Viewed 6742 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply