Changing location of movieclip with one line of code?

Hi, I’m trying to work out how to move the location of an object with just one line of code, to move the location of a movieclip named “ball” I would do:


ball.x = 100;
ball.y = 100;

But I was wondering if there is a way to just call the object “ball” and move the X and Y on the same line? I thought it may be something like:

ball{x=100, y=100}

But that just moves the stage’s X and Y location unfortunately. Thanks if you can point me in the right direction. :wink: (Sorry if the title was misleading, I’m not sure what the technical terms would be.)