I am trying to create a particle effect using the current frame of an animation in Godot 3.0. I want the particle's texture to be the current frame of my animation.
I use an
AnimationPlayer rather than an
AnimatedSprite for my animations. Each animation is key framed from a spritesheet which is loaded as the sprite's texture.
I tried using the following to set my
texture = player.get_node("Sprite").texture
but it assigned the particle the player's entire spritesheet, rather than the current frame of it.
How can I create a reference to my sprite's current frame and not its whole spritesheet texture?