come faccio a fare in modo che si sposti solo in X

on (press) {
startDrag(getProperty(_x, _y));
}
on (release) {
stopDrag();
}