# Changing frames depending on variables

**URL:** https://forum.kirupa.com/t/changing-frames-depending-on-variables/243385
**Category:** Uncategorized
**Created:** [November 6, 2007, 3:02pm UTC](https://forum.kirupa.com/t/changing-frames-depending-on-variables/243385 "2007-11-06T15:02:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![leonthelion](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@leonthelion](https://forum.kirupa.com/u/leonthelion)
#### Post date: [November 6, 2007, 3:02pm UTC](https://forum.kirupa.com/t/changing-frames-depending-on-variables/243385/1 "2007-11-06T15:02:29Z")

</div>

I want to learn how to change frames of a weapon depending on different variables. Like if sword==true then it would go to a frame called “sword” I can’t really figure this one out, so if anyone knows how I can do then thanks ^^
