# Is there sprite.currentFrame?

**URL:** <https://phaser.discourse.group/t/is-there-sprite-currentframe/7021>\
**Category:** Phaser 3\
**Created:** [July 25, 2020, 3:22pm UTC](https://phaser.discourse.group/t/is-there-sprite-currentframe/7021 "2020-07-25T15:22:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RaynhardMK](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/raynhardmk/32/3455_2.png) [@RaynhardMK](https://phaser.discourse.group/u/RaynhardMK)\
**Post date:** [July 25, 2020, 3:22pm UTC](https://phaser.discourse.group/t/is-there-sprite-currentframe/7021/1 "2020-07-25T15:22:26Z")

</div>

Quick question here,  
How can I get the current frame of a sprite?

So, I loaded a spritesheet and then add a sprite to the scene using that spritesheet. Later on, I used this.scene.sprite.setFrame(1), and now I want to check whether the sprite is now in frame 1 or not.

How can I do that?  
Thanks!

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [July 25, 2020, 4:37pm UTC](https://phaser.discourse.group/t/is-there-sprite-currentframe/7021/2 "2020-07-25T16:37:47Z")

</div>

`sprite.frame.name`

---

<div class="post-metadata">

**Author:** ![RaynhardMK](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/raynhardmk/32/3455_2.png) [@RaynhardMK](https://phaser.discourse.group/u/RaynhardMK)\
**Post date:** [July 25, 2020, 10:11pm UTC](https://phaser.discourse.group/t/is-there-sprite-currentframe/7021/3 "2020-07-25T22:11:44Z")

</div>

Thanks!! I can’t thank you enough for spending your time answering my question. What a legend~ 😄
