I am a beginner, i am trying to create an actor, that moves left or right randomly, how can i make it? (a mouse created and move to left or right randomly)
I tried the script editor be4 like below:
x=rand(2);
if (x==1) moveto(-125,0);
else moveto(125,0);
Who can help me the syntax or another way to do that because i havent been succesful yet? THanks alot