# The == command

**URL:** <https://forum.kirupa.com/t/the-command/330500>\
**Category:** Uncategorized\
**Created:** [January 30, 2013, 8:22am UTC](https://forum.kirupa.com/t/the-command/330500 "2013-01-30T08:22:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jorritor](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@jorritor](https://forum.kirupa.com/u/jorritor)\
**Post date:** [January 30, 2013, 8:22am UTC](https://forum.kirupa.com/t/the-command/330500/1 "2013-01-30T08:22:24Z")

</div>

is it possible to write this?

if (\_root.win == 3) {  
\_root.gotoAndStop(“menu”);  
}

i would like it when the variable \_root.win = 3 that it goes to the menu frame. but it won’t work it will just continue to go up and never go to the menu frame.  
sorry for bad english.
