# If your on a certian Frame # or label

**URL:** <https://forum.kirupa.com/t/if-your-on-a-certian-frame-or-label/178449>\
**Category:** Uncategorized\
**Created:** [February 10, 2006, 4:56pm UTC](https://forum.kirupa.com/t/if-your-on-a-certian-frame-or-label/178449 "2006-02-10T16:56:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lamoose](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@lamoose](https://forum.kirupa.com/u/lamoose)\
**Post date:** [February 10, 2006, 4:56pm UTC](https://forum.kirupa.com/t/if-your-on-a-certian-frame-or-label/178449/1 "2006-02-10T16:56:32Z")

</div>

How do a write a function that does the following:

If current frame = “framelabel” then () {

```
  do this

```

}

You get the idea, I know that’s nowhere close.
