# Is it possible to create empty movieclip, mask, and move it?

**URL:** https://forum.kirupa.com/t/is-it-possible-to-create-empty-movieclip-mask-and-move-it/165262
**Category:** flash
**Created:** [October 9, 2005, 8:22pm UTC](https://forum.kirupa.com/t/is-it-possible-to-create-empty-movieclip-mask-and-move-it/165262 "2005-10-09T20:22:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Sirenetta1](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Sirenetta1](https://forum.kirupa.com/u/Sirenetta1)
#### Post date: [October 9, 2005, 8:22pm UTC](https://forum.kirupa.com/t/is-it-possible-to-create-empty-movieclip-mask-and-move-it/165262/1 "2005-10-09T20:22:26Z")

</div>

Hello!

I was wondering how you could move an empty movieclip that is set as a mask?

```php
this.createEmptyMovieClip("mask", 1);
mask.setMask(square);
_root.mask._x +=10

```

I’ve tried using this code, but it does not work?

I’ll attach an swf of what I’m trying to accomplish, using this actionscript. Basically, I just want a picture to be revealed left-to-right without having to create a physical mask on the stage.

Is this possible?
