# Wat to type in actionscript to a button for it to make the shape rotate etc

**URL:** <https://forum.kirupa.com/t/wat-to-type-in-actionscript-to-a-button-for-it-to-make-the-shape-rotate-etc/62646>\
**Category:** Uncategorized\
**Created:** [August 30, 2004, 6:22am UTC](https://forum.kirupa.com/t/wat-to-type-in-actionscript-to-a-button-for-it-to-make-the-shape-rotate-etc/62646 "2004-08-30T06:22:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xavier](https://avatars.discourse-cdn.com/v4/letter/x/2bfe46/32.png) [@Xavier](https://forum.kirupa.com/u/Xavier)\
**Post date:** [August 30, 2004, 6:22am UTC](https://forum.kirupa.com/t/wat-to-type-in-actionscript-to-a-button-for-it-to-make-the-shape-rotate-etc/62646/1 "2004-08-30T06:22:04Z")

</div>

wat is the command for the buttons to make the movie clip rotate, go to left etc…  
i tried

> [/QUOTE] on (press) {  
> cross.gotoAndPlay(2);  
> }

[QUOTE]

but when i click the button twice it go to other position instead of staying there. Any idea how to do it?
