A variable that has what frame a sprite's animation is on

I wanna know if there’s a way to see a sprite’s current frame on an animation.

I assume your talking about gamelab this can be found by indexing down to the sprite.animation property which has a getFrame function which returns the current frame in the animation

var spr = createSprite(200, 200);
spr.setAnimation("placeholder");
console.log(spr.animation.getFrame())

this should solve your question